Re: help: udev rule for usb stick
On Wednesday 19 October 2005 17:56, Matteo Semplice
<matteo.semplice@libero.it>
(<[🔎] 200510200156.16431.matteo.semplice@libero.it>) wrote:
> Hi everybody,
> is anyone willing to suggest an udev rule to SYMLINK my usb stick to
> something like "/dev/usbpen"? I know that the web is full of suggestions
> on how to do it, but I can't get it to work for me!
>
> When I plug it in, it gets recognized by the scsi emulation and assigned
> to /dev/sda, but I've been trying in vane to write an udev rule to catch
> this device and symlink it to something else.
A simple rule, which will fail if the pen ever gets a name other
than /dev/sda, is
KERNEL=="sda" SYMLINK="usbpen"
What does
udevinfo -a -p $(udevinfo -q path -n /dev/sda)
say?
Reply to: