Symlinking to a file
Is there a way to have udev automatically symlink to a file, not to a device. I'm trying to link from sdb1 to cards/compactflash. Unfortunately I have to uses the NAME{all_partitions} thing for my cardreader, so there isn't always a sdb1 file in /sys. I've got a workaround at the moment, but this seems like the best solution.
Actually, IMHO the best solution would be to have an option like NAME{first_partition} since most card readers and cameras only use the first partition, but that node isn't created if the card isn't in the slot at the time the reader is initialized by the computer.
Thanks for your time
Mathias Stearn
PS- I'm not subscribed to the list, so you might (I'm not used to mailing lists) have to cc any replies to me at [email protected].
PPS- where do i sign up for the mailing list
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel