On Wednesday 19 October 2005 17:56, Matteo Semplice
<[EMAIL PROTECTED]>
(<[EMAIL PROTECTED]>) 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?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to