[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Volume ID with mkfs.msdos



Hi,

Juergen Fiedler wrote:
> Does the volume-id parameter in efi-image and binary_grub-efi serve an
> important purpose?

For /dev/disk/by-label it is important that it is not the same as the
ids of the overall ISO and other partitions in the image.
Actually it should be unique system-wide. So with only 32 bit, it
should have outmost entropy. (How about CRC-32 of the timestamp or
the first 32 bit of its MD5 ?)

udev older than january 9 2020 attributes the ISO's Volume Id as
/dev/disk/by-label to any partition which has no filesystem or an empty
label.  (https://github.com/systemd/systemd/issues/14408)


Have a nice day :)

Thomas


Reply to: