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