On 01/24/2013 02:45 AM, »Q« wrote: > On Wed, 23 Jan 2013 13:49:09 -0800 > Christopher Head <ch...@chead.ca> wrote: > >> On Wed, 23 Jan 2013 17:03:15 +0100 >> Michael Weber <x...@gentoo.org> wrote: >>> udev/openrc stopped re-mounting /dev that last year. >> >> Are you sure? I have CONFIG_DEVTMPFS_MOUNT disabled, latest stable >> udev (197-r3) and openrc (0.11.8), and no /dev line in my fstab, yet >> my /dev is still a devtmpfs with a proper set of device nodes. > > Me too. It looks like /etc/init.d/udev-mount mounts it if the kernel > hasn't, but I'd like to know more about whatever best practice is.
Mind the _re_-mount, if udev discovers /dev not being mounted, udev does. if udev discovers /dev mounted, no mount action is taken. Earlier versions remounted /dev regardless. My best practice is to have CONFIG_DEVTMPFS_MOUNT enabled: I don't use initrd (except for disk encryption) and I still find my disks during init=/bin/bash recovery. and it does not hurt, anymore. -- Michael Weber Gentoo Developer web: https://xmw.de/ mailto: Michael Weber <x...@gentoo.org>