On Tue, April 5, 2016 17:11, Ken Moffat wrote: > On Tue, Apr 05, 2016 at 01:27:33PM +0200, Gerhard Gedigk wrote: >> > >> As far as I understand it you do not need initrd to use UUIDs. >> I need initrd to launch udev so early so I can use the symlinks >> in /etc/fstab . With init and 10udev it is too late. >> > (I forgot to read this part.) > > First, on UUIDs - the kernel does not understand them, it needs > userspace. Therefore, if somebody wants to use a UUID in the root= > parameter in grub, an initrd is necessary. > > If the UUID is only used in /etc/fstab, I have no idea. > > I'm also unsure what you mean by symlinks in /etc/fstab. > > ĸen
Hello, Here is some reference about how the kernel uses UUID, and Bruce mentioned the difference of UUID between partition and filesystem: https://github.com/torvalds/linux/blob/master/init/do_mounts.c Around line 103 will be the relevant info the kernel will use for UUID. The kernel will need user space tools to mount the root device when filesystem UUID is required. However, I'm sure someone could write a driver for the kernel init system to seek the filesystem UUID for the rootdev. Sincerely, William Harrington -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
