Re: CentOS 6 Partitioning Help

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



On 09/01/2011 07:58 PM, Tom H wrote:
> Poettering says in
> his blog that you can have "/usr" on a separate partition if you mount
> it in the initramfs. With dracut, it means using "--add fstab-sys" (or
> adding "fstab-sys" to the "/etc/dracut.conf" modules list) and
> creating an "/etc/fstab.sys" with a "/usr" line".

I tried setting up a system that way, but there are a couple of problems:

1) You have to patch rc.sysinit to fake an entry for /usr in /etc/mtab.
    That's easy enough, and not necessary on distributions where /etc/mtab
    is just a symlink to /proc/mounts.

2) You have to disable the automatic fsck of /usr.  Because /usr is now
    mounted, fsck will always fail regardless of the "clean" state of the
    file system, and the special handling for the already-mounted root
    file system seems to be hard-coded in the fsck binary and can not
    be made to apply to /usr.

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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux