On 11/17/05, Jorge Almeida <[EMAIL PROTECTED]> wrote:
> So much for the rules in
> http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Flash-Memory-HOWTO.html#hotplug
> ...

Yes, it is terribly out of date, being written when udev was at
version 016!!  That is soooo last month! :->

> Did it. Upon reboot, I had /dev/external_hd and /dev/external_hd1, but
> only /dev/plextor_memstick (i.e., no mountable /dev/plextor_memstick1).
> I unplugged the stick and turned off the HD case. I plugged back the
> stick. Now /dev/plextor_memstick and /dev/plextor_memstick1 exist, as
> they should. I turned the case on. Well, no /dev/external_hd...

Can you post your current rules.  Also, don't forget Dirk's suggestion
regarding BUS=="usb" instead of scsi.

> No external disk...
>         $ udevinfo -a -p $(udevinfo -q path -n /dev/sda)
>         no record for 'sda' in database
>         (...)
> The same for sdb...

Yes, this I would expect now, because you are not creating sdX device
nodes anymore.  You would need to use the device nodes that you are
creating.

You could use the SYMLINK target instead of changing the name.  Something like:

BUS=="usb" ... NAME="%k", SYMLINK="plextor_memstick%n"

This would keep the default sdX device nodes, but give you symlinks
for your persistent names.

-Richard

-- 
[email protected] mailing list

Reply via email to