FS#18523 - [mkinitcpio] usb_id, ata_id, scsi_id, path_id: should be added to udev install hook?

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Tuesday, 02 March 2010, 02:55 GMT
Last edited by Dan Griffiths (Ghost1227) - Thursday, 04 March 2010, 20:13 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I recently played with archiso and removing "archiso_early" hook, and instead of it, use directly /dev/disk/by-label/${archisolabel}. I added manually in archiso hook these binary tools to propertly work (plus 60-cdrom_id.rules and cdrom_id)

My question is, these tools are actually required by these rules that are added by udev hook, why these tools are not added. I know that all hooks currently works without it, but maybe having it maybe can take some advantages from information that is added to udev enviroment.

/lib/udev/usb_id used by 50-udev-default.rules and 60-persistent-storage.rules
/lib/udev/{ata_id,scsi_id,path_id} used by 60-persistent-storage.rules

Thanks.

Additional info:
mkinitcpio-0.6.3
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Thursday, 04 March 2010, 20:13 GMT
Reason for closing:  Won't implement
Additional comments about closing:  For now, there are no hooks that take advantage of these tools.
Comment by Thomas Bächler (brain0) - Tuesday, 02 March 2010, 08:40 GMT
They have been omitted for space reasons. Nobody actually seems to use the device IDs that are generated by them, so adding them seemed superfluous.
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 02 March 2010, 13:34 GMT
OK, so for now, if some hook needs information from these tools, should add it. (sum size of all binaries are around 100K)


/offtopic: Doing all few necessary changes in archiso to work with /dev/disk/by-label, does not work in disk mode. This is because "isohybrid -offset 1", by-label/XXX will point to "/dev/sda1" and not to "/dev/sda". With default -offset 0 works, because "sda1" and "sda" points to the same offset of disk (sector 0), but doing this we lost the capability of create another partitions in the medium that .iso is copied.

Loading...