[CentOS] CentOS 6 Partitioning Help
Robert Nichols
rnicholsNOSPAM at comcast.netFri Sep 2 15:27:47 UTC 2011
- Previous message: [CentOS] CentOS 6 Partitioning Help
- Next message: [CentOS] CentOS 6 Partitioning Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [CentOS] CentOS 6 Partitioning Help
- Next message: [CentOS] CentOS 6 Partitioning Help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list