1 |
On Sun, 5 Feb 2012 10:23:56 -0800 |
2 |
Grant <emailgrant@×××××.com> wrote: |
3 |
|
4 |
> I was just going over the Baselayout and OpenRC Migration Guide: |
5 |
> |
6 |
> http://www.gentoo.org/doc/en/openrc-migration.xml |
7 |
> |
8 |
> and I'm not sure how to make sure my /etc/mtab is set up according to |
9 |
> the instructions: |
10 |
> |
11 |
> "Previously, the initial rootfs entry was removed from /etc/mtab, and |
12 |
> only the real root / entry was present. The duplicate rootfs item was |
13 |
> actually added back during shutdown. In OpenRC, both entries must be |
14 |
> present for full support of initramfs and tmpfs-on-root. This also |
15 |
> means that less writing is required during shutdown." |
16 |
> |
17 |
> My systems have different /etc/mtab files but here is one: |
18 |
> |
19 |
> rootfs / rootfs rw 0 0 |
20 |
> /dev/root / ext3 rw,noatime,errors=continue,barrier=1,data=ordered 0 0 |
21 |
> proc /proc proc rw,relatime 0 0 |
22 |
> rc-svcdir /lib/rc/init.d tmpfs |
23 |
> rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0 |
24 |
> sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 |
25 |
> udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0 |
26 |
> devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0 |
27 |
> shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0 |
28 |
> usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0 |
29 |
> |
30 |
> Should I change anything? |
31 |
|
32 |
I don't see a problem. The portion you quoted says exactly what mtab |
33 |
should contain, and your mtab does contain it. |
34 |
|
35 |
Your mtab looks correct to me. In what way do you believe that it is |
36 |
not? |
37 |
|
38 |
-- |
39 |
Alan McKinnnon |
40 |
alan.mckinnon@×××××.com |