* why no "by-label" for removable?
@ 2005-10-31 5:15 Aras Vaichas
2005-10-31 14:29 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Aras Vaichas @ 2005-10-31 5:15 UTC (permalink / raw)
To: linux-hotplug
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: why no "by-label" for removable?
2005-10-31 5:15 why no "by-label" for removable? Aras Vaichas
@ 2005-10-31 14:29 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2005-10-31 14:29 UTC (permalink / raw)
To: linux-hotplug
On Mon, Oct 31, 2005 at 04:15:47PM +1100, Aras Vaichas wrote:
> 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?
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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-31 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-31 5:15 why no "by-label" for removable? Aras Vaichas
2005-10-31 14:29 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).