Re: Separate /usr partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/15/2011 12:22 AM, Gabriel Ramirez wrote:
> ok, so I was wrong about the webpage and the situation, well thanks, for
> your explanation the only thing to do is install the F15, live with it
> or try to do a workaround myself (I don't care if it's ugly) meanwhile
> works in my use case.

You want an ugly workaround?  How about keeping your separate /usr, but
keep a very stripped-down copy (just the stuff needed during boot) under
the /usr directory on your root file system.  That will, of course, all
be hidden when the separate /usr file system gets mounted.

OK, so how do you maintain the contents of that buried /usr while the
system is running?  Time to get tricky with bind mounts:

  1. Create a directory /usr0.

  2. Arrange /etc/fstab so that the /usr directory gets bind mounted onto
     /usr0 _before_ the real /usr gets mounted.  (Note: I haven't done
     any testing to see if you can actually ensure that the mounts get
     done in this sequence during the auto mounting of local file
     systems.)

Now /usr0 is your window into that overlaid /usr directory.  You can use
rsync with the "--existing" option to update just the files that you
placed in that root fs /usr.

If you ever umount /usr0, though, there's no way to regain access
without rebooting.

As an extra-credit exercise, figure out how to set this up on a running
system without booting from a rescue disk.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux