Re: Is life with 'udev' good?
On Nov 19 2004, Ron Johnson wrote:
> On Fri, 2004-11-19 at 19:32 -0700, Jamin W. Collins wrote:
> > Don't know about a "general concensus" but I'm quite happy with udev's
> > operation and having consistent device names for my USB and Firewire
> > devices.
>
> What kind of names? Can you give some examples? When I insert
> a pen drive, for example, /var/log/syslog says that it is /dev/sdc1
> instead of something devfs-like /dev/usb/port01/drive01/part01.
I recently sat down and read the instructions on creating rules for udev
with the intent of persistent naming and attached are the rules that I'm
using right now quite well, might I say.
I, BTW, don't like the devfs-like names (way too long for my taste).
--
Learn to quote e-mails decently at:
http://pub.tsn.dk/how-to-quote.php
http://learn.to/quote
http://www.xs4all.nl/~sbpoley/toppost.htm
#
# udev rules file made by Rogério Brito, mostly with information gathered with
# udevinfo -a -p /sys/<class|block>/<bus>/<device>
#
# USB Key Drive: "Leading Driver Co.,LTD.", "USB Mass Storage Device"
BUS="usb", SYSFS{idProduct}="2317", SYSFS{idVendor}="067b", NAME="usb/key%n", SYMLINK="sda%n"
# Printer: "DeskJet 840C", "BR1391S0WNKV"
BUS="usb", SYSFS{idProduct}="0604", SYSFS{idVendor}="03f0", NAME="usb/lp%n", SYMLINK="hp_lp"
# iPod
BUS="ieee1394", SYSFS{model_name_kv}="iPod", NAME="ipod%n"
# HD in Firewire Enclosure
BUS="scsi", SYSFS{vendor}="QUANTUM*", SYSFS{model}="FIREBALLlct15 30", NAME="firewire%n"
Reply to: