for a better initrd (with udev) it would be nice to also include devlabel. with the attached patch this is possible to build with diet %build -gcc $RPM_OPT_FLAGS -o scsi_unique_id scsi_unique_id.c -gcc $RPM_OPT_FLAGS -o partition_uuid -luuid partition_uuid.c +diet gcc $RPM_OPT_FLAGS -o scsi_unique_id scsi_unique_id.c +diet gcc $RPM_OPT_FLAGS -o partition_uuid partition_uuid.c -luuid
Created attachment 100658 [details] patch for the utils to compile with dietlibc
Why not just enhance udev with libuuid support (and its own scsi identifier)? The guts of devlabel (the shell script bits) are pretty much irrelevant with udev. In fact, scsi_id in extras/ in udev seems to be more or less the same thing as scsi_unique_id.