Bug#351523: initramfs-tools: Add support for filesystem labels and uuid's
reassign 351523 udev
tags 351523 patch
thanks
On Sun, Feb 05, 2006 at 03:20:47PM +0100, David Härdeman wrote:
>
> By adding /sbin/vol_id to the generated initramfs image, udev is able to
> create the persistent device nodes under /dev/disk such as
> /dev/disk/by-label/rootpartition which means that the kernel can be
> booted with an argument such as root=/dev/disk/by-label/rootpart.
>
> This also means that the item "fstab label and UUID" in the wiki
> InitrdReplacementOptions page can be marked as working (it is marked as
> such today but I think that is due to a misunderstanding).
>
> Re,
> David
Marco please merge belows patch against extra/initramfs.hook
> --- initramfs-tools-bak/hooks/udev 2006-01-31 12:50:50.000000000 +0100
> +++ initramfs-tools/hooks/udev 2006-02-05 13:42:47.000000000 +0100
> @@ -22,6 +22,9 @@
> copy_exec /sbin/udevd /sbin/
> copy_exec /sbin/udevsynthesize /sbin/
>
> +# This allows udev to create /dev/disk/by-label and friends
> +copy_exec /sbin/vol_id /sbin/
> +
> mkdir $DESTDIR/lib/udev/
> cp /lib/udev/hotplug.functions $DESTDIR/lib/udev/
> copy_exec /lib/udev/vio.agent /lib/udev/
Reply to: