[blfs-dev] LVM2 bootscript

DJ Lucas dj at linuxfromscratch.org
Tue Feb 14 16:41:48 PST 2012


On 02/14/2012 06:08 PM, Bruce Dubbs wrote:
> What do you think of adding a line to the start of the start code of
> checkfs:
>
> if [ -x /usr/sbin/vgchange ]; then
>     /usr/sbin/vgchange -a y>/dev/null
> fi
I can only suggest from both a standards perspective and, more 
importantly in this particular case (with the suggested future 
flattening of /usr/{lib,bin}), from a rescue perspective, that vgchange 
be moved to /sbin and any dependent libs moved to /lib. It would seem 
logical to me that /usr be stored on LVM with a small traditional root 
partition, along with /home and /var, if you elected not to do the whole 
thing (which would require vgchange in the initrd anyway). The same 
thing applies for anything in /usr that is required to mount the logical 
partitions.

-- DJ Lucas


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.




More information about the blfs-dev mailing list