On 3/14/07, Duane Cox <[EMAIL PROTECTED]> wrote: > > I'm not sure if this is for the LFS list or BLFS list. > Since mounting udev as a tmpfs is not covered in LFS, I will assume it is > appropriate to ask here.
Udev isn't a partition/filesystem/etc., just a set of utilities. I think you mean /dev. This is mounted as a tmpfs by the udev bootscript in /etc/rc.d/init.d/udev. I think you may be getting confused because we just label the mount as tmpfs whereas most distros label it as udev. You can see this mount if you look at /proc/mounts. If you just execute `mount', you won't see it. That's because `mount' shows the mounted filesystems as listed in /etc/mtab. We don't record the /dev mount in /etc/mtab so that you don't accidentally umount all your devices. > What process needs to be involved to mount udev as a tmpfs? > I attempted to do this by changing the /etc/fstab, but I think a initrd > needs to be involved. Changing fstab won't help because the /dev mount happens as early as possible, before the mountfs script starts processing fstab. This needs to happen since if you don't have any devices in /dev, you can't exactly start mounting filesystems (with the special exception of the root device as specified to the kernel). Are you having any specific problems? -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
