|
GNU/Linux Desktop Survival Guide
by Graham Williams |
|
|||
Examples |
A bunch of examples from Rogrio Brito:
# 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"
|