Hello!

2012/3/11 Canek Peláez Valdés <can...@gmail.com>:

>> The next step was to remove /usr from /etc/fstab to prevent /usr from
>> being mounted twice (the boot process does not like it).
>
> Mmmh. Could you try to use LABEL= in /etc/fstab (not /etc/fstab), and
> see if that way it gets mounted, and only once? The udev developers
> recommend using either UUID or LABEL; and LABEL it's easier (and
> prettier) to set.

I actually did not remove it:
/dev/mapper/vg-usr              /usr            ext4            noauto,noatime  
1 2

I am afraid of what would happen if I remove noauto. As far as I
recall the boot procedure aborted.

>
>> The last obstacle is /etc/mtab. By the time /usr is mounted I believe
>> / is mounted as read only, so mount cannot update /etc/mtab. The
>> trivial solutions is to delete /etc/mtab and make it a symlink to
>> /proc/mounts . In that case it is always up to date.
>
> I think the link is to /proc/self/mounts; /proc/mounts it's a link to
> it, actually.

You are right.

Cheers,
-- 
Jorge Martínez López <jorg...@gmail.com> http://www.jorgeml.net
      Google Talk / XMPP: jorg...@gmail.com

Reply via email to