On Sun, 5 Feb 2012 10:23:56 -0800
Grant <emailgr...@gmail.com> wrote:

> I was just going over the Baselayout and OpenRC Migration Guide:
> 
> http://www.gentoo.org/doc/en/openrc-migration.xml
> 
> and I'm not sure how to make sure my /etc/mtab is set up according to
> the instructions:
> 
> "Previously, the initial rootfs entry was removed from /etc/mtab, and
> only the real root / entry was present. The duplicate rootfs item was
> actually added back during shutdown. In OpenRC, both entries must be
> present for full support of initramfs and tmpfs-on-root. This also
> means that less writing is required during shutdown."
> 
> My systems have different /etc/mtab files but here is one:
> 
> rootfs / rootfs rw 0 0
> /dev/root / ext3 rw,noatime,errors=continue,barrier=1,data=ordered 0 0
> proc /proc proc rw,relatime 0 0
> rc-svcdir /lib/rc/init.d tmpfs
> rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0
> sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
> udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0
> devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
> shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
> usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
> 
> Should I change anything?

I don't see a problem. The portion you quoted says exactly what mtab
should contain, and your mtab does contain it.

Your mtab looks correct to me. In what way do you believe that it is
not?

-- 
Alan McKinnnon
alan.mckin...@gmail.com


Reply via email to