Re: [gentoo-user] /etc/mtab

2012-02-06 Thread 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?
>
> 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?

I just didn't understand the part about mtab in the Baselayout and
OpenRC Migration Guide:

http://www.gentoo.org/doc/en/openrc-migration.xml

Thanks for checking it for me.

- Grant



Re: [gentoo-user] /etc/mtab

2012-02-05 Thread Alan McKinnon
On Sun, 5 Feb 2012 10:23:56 -0800
Grant  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




Re: [gentoo-user] /etc/mtab

2012-02-05 Thread Dale
Grant 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?
> 
> - Grant
> 
> 


The system should take care of mtab.  I don't think use mortals are
supposed to touch mtab.  Do you mean fstab?

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] /etc/mtab

2012-02-05 Thread Michael Hampicke


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.



[gentoo-user] /etc/mtab

2012-02-05 Thread 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