Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/mtab
Date: Sun, 05 Feb 2012 18:36:59
Message-Id: 4F2ECBF6.1060604@gmail.com
In Reply to: [gentoo-user] /etc/mtab by Grant
1 Grant wrote:
2 > I was just going over the Baselayout and OpenRC Migration Guide:
3 >
4 > http://www.gentoo.org/doc/en/openrc-migration.xml
5 >
6 > and I'm not sure how to make sure my /etc/mtab is set up according to
7 > the instructions:
8 >
9 > "Previously, the initial rootfs entry was removed from /etc/mtab, and
10 > only the real root / entry was present. The duplicate rootfs item was
11 > actually added back during shutdown. In OpenRC, both entries must be
12 > present for full support of initramfs and tmpfs-on-root. This also
13 > means that less writing is required during shutdown."
14 >
15 > My systems have different /etc/mtab files but here is one:
16 >
17 > rootfs / rootfs rw 0 0
18 > /dev/root / ext3 rw,noatime,errors=continue,barrier=1,data=ordered 0 0
19 > proc /proc proc rw,relatime 0 0
20 > rc-svcdir /lib/rc/init.d tmpfs
21 > rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0
22 > sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
23 > udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0
24 > devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
25 > shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
26 > usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
27 >
28 > Should I change anything?
29 >
30 > - Grant
31 >
32 >
33
34
35 The system should take care of mtab. I don't think use mortals are
36 supposed to touch mtab. Do you mean fstab?
37
38 Dale
39
40 :-) :-)
41
42 --
43 I am only responsible for what I said ... Not for what you understood or
44 how you interpreted my words!
45
46 Miss the compile output? Hint:
47 EMERGE_DEFAULT_OPTS="--quiet-build=n"