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@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to