Am 05.02.2012 19:23, schrieb Grant: > 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? > > - Grant >
/etc/mtab just contains whats in /proc/mounts - mtab will be set up automatically, you don't have to do anything.