usb stick specify as /dev/sdz
Paul W. Frields
stickster at gmail.com
Tue Oct 1 19:43:54 UTC 2013
On Mon, Sep 30, 2013 at 03:15:22PM +0100, Frank Murphy wrote:
> Is it possible to have a usb stick
> used a specific /dev/sdz
> based on device label
>
> So no matter which usb slot,
> it's pugged into, gets the same sdz
>
> my udev rule. so far:
> BUS=="usb",
> KERNEL=="sd*",
> ATTRS{label}=="foo_or_bar",
> [...]
Is there a reason not to use the persistent name already provided
under /dev/disk?
--
Paul W. Frields http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
http://redhat.com/ - - - - http://pfrields.fedorapeople.org/
The open source story continues to grow: http://opensource.com
More information about the users
mailing list