2013/3/22 xinglp <xin...@gmail.com>:
> Just edit /etc/init.d/mountfs.
>
> Change this line:
>     umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc >/dev/null
> to:
>     umount -v -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc
>     cat /proc/mounts
>     sh
>
> Then you will see:
>
> Unmounting all other currently mounted file systems.../dev/pts
>         : successfully umounted
> /                        : ignored
> /run                     : ignored
> /sys                     : ignored
> /proc                    : ignored
> /dev                     : ignored
> /                        : ignored
>
> rootfs / rootfs rw 0 0
> devtmpfs /dev devtmpfs rw,relatime,size=255712k,nr_inodes=63928,mode=755 0 0
> proc /proc proc rw,relatime 0 0
> sysfs /sys sysfs rw,relatime 0 0
> tmpfs /run tmpfs rw,relatime 0 0
> /dev/sda2 / reiserfs rw,noatime 0 0
>
> sh: no job control in this shell
> sh-4.2#

I've fixed it by patch in attachement .
And ... I change /etc/mtab to a symlink to /proc/mounts,
the output of mount no more show things like "/dev/root" or "rootfs".
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to