From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 31 Oct 2005 14:29:47 +0000 Subject: Re: why no "by-label" for removable? Message-Id: <20051031142947.GB32463@vrfy.org> List-Id: References: <4365A883.7060105@magellan-technology.com> In-Reply-To: <4365A883.7060105@magellan-technology.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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