why no "by-label" for removable?
I've just been pulling my hair out wondering why I could't create a "/dev/disks/by-label" when I finally noticed this common line in udev rules examples:
KERNEL="*[!0-9]", SYSFS{removable}="1", GOTO="persistent_end"
Is there a particular reason for this?
The FAQ mentions using a /dev/disks/by-label entry for a PENDRIVE, but surely a PENDRIVE would be considered removable and thus the "by-label" would never be created?
regards,
Aras Vaichas
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 11 lines · Aras Vaichas
I've just been pulling my hair out wondering why I could't create a "
/dev/disks/by-label" when I finally noticed this common line in udev rules examples:KERNEL="*[!0-9]", SYSFS{removable}="1", GOTO="persistent_end"
Is there a particular reason for this?
The FAQ mentions using a
/dev/disks/by-labelentry for a PENDRIVE, but surely a PENDRIVE would be considered removable and thus the "by-label" would never be created?
This rule exists to prevent optical drives from beeing probed for its filesystem, which doesn't make sense, cause they will not be updated on media changes.
But right, we may want to identify an optical drive in some smarter way, or all usb storage drives will need a partition table to work with that rule. :)
Kay
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel