Re: USB hard drives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,
             suppose i have two usb drives first is DataTraveler and second
is Transcend.

now i wann make different rules for both devices.

first name will be  NAME="datausbdrive"
second name will be NAME="transusbdrive"

can i do this??


i was try this but i dint get success...

i m sending output of  udevmonitor --env for both drives.
first DataTraveler

udevmonitor prints the received event from the kernel [UEVENT]
and the event which udev sends out after rule processing [UDEV]

UEVENT[1236449418.344619] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
SUBSYSTEM=usb
SEQNUM=1164
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb

UEVENT[1236449418.344619] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.18_ep00
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.18_ep00
SUBSYSTEM=usb_endpoint
SEQNUM=1165
MAJOR=442
MINOR=2065

UEVENT[1236449418.356964] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
SUBSYSTEM=usb
SEQNUM=1166
PHYSDEVBUS=usb
DEVICE=/proc/bus/usb/002/018
PRODUCT=930/6545/100
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v0930p6545d0100dc00dsc00dp00ic08isc06ip50

UEVENT[1236449418.356996] add@/class/scsi_host/host17
ACTION=add
DEVPATH=/class/scsi_host/host17
SUBSYSTEM=scsi_host
SEQNUM=1167
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17

UEVENT[1236449418.357016] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep81
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep81
SUBSYSTEM=usb_endpoint
SEQNUM=1168
MAJOR=442
MINOR=2065

UEVENT[1236449418.357034] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep02
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep02
SUBSYSTEM=usb_endpoint
SEQNUM=1169
MAJOR=442
MINOR=2065

UEVENT[1236449418.357053] add@/class/usb_device/usbdev2.18
ACTION=add
DEVPATH=/class/usb_device/usbdev2.18
SUBSYSTEM=usb_device
SEQNUM=1170
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
MAJOR=189
MINOR=145

UDEV  [1236449418.367825] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
SUBSYSTEM=usb
SEQNUM=1164
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
UDEVD_EVENT=1

UDEV  [1236449418.470884] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.18_ep00
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.18_ep00
SUBSYSTEM=usb_endpoint
SEQNUM=1165
MAJOR=442
MINOR=2065
UDEVD_EVENT=1
DEVNAME=/dev/usbdev2.18_ep00

UDEV  [1236449418.656245] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
SUBSYSTEM=usb
SEQNUM=1166
PHYSDEVBUS=usb
DEVICE=/proc/bus/usb/002/018
PRODUCT=930/6545/100
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v0930p6545d0100dc00dsc00dp00ic08isc06ip50
UDEVD_EVENT=1

UDEV  [1236449418.922689] add@/class/scsi_host/host17
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_host/host17
SUBSYSTEM=scsi_host
SEQNUM=1167
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17
UDEVD_EVENT=1

UDEV  [1236449418.964938] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep81
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep81
SUBSYSTEM=usb_endpoint
SEQNUM=1168
MAJOR=442
MINOR=2065
UDEVD_EVENT=1
DEVNAME=/dev/usbdev2.18_ep81

UDEV  [1236449419.048751] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep02
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.18_ep02
SUBSYSTEM=usb_endpoint
SEQNUM=1169
MAJOR=442
MINOR=2065
UDEVD_EVENT=1
DEVNAME=/dev/usbdev2.18_ep02

UDEV  [1236449419.213978] add@/class/usb_device/usbdev2.18
UDEV_LOG=3
ACTION=add
DEVPATH=/class/usb_device/usbdev2.18
SUBSYSTEM=usb_device
SEQNUM=1170
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
MAJOR=189
MINOR=145
UDEVD_EVENT=1
DEVNAME=/dev/bus/usb/002/018

UEVENT[1236449423.373488] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
SUBSYSTEM=scsi
SEQNUM=1171
PHYSDEVBUS=scsi

UEVENT[1236449423.382081] add@/class/scsi_disk/17:0:0:0
ACTION=add
DEVPATH=/class/scsi_disk/17:0:0:0
SUBSYSTEM=scsi_disk
SEQNUM=1172
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449423.860521] add@/block/sdb
ACTION=add
DEVPATH=/block/sdb
SUBSYSTEM=block
SEQNUM=1173
MINOR=16
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449423.860556] add@/block/sdb/sdb1
ACTION=add
DEVPATH=/block/sdb/sdb1
SUBSYSTEM=block
SEQNUM=1174
MINOR=17
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449423.860578] add@/class/scsi_device/17:0:0:0
ACTION=add
DEVPATH=/class/scsi_device/17:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=1175
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449423.860598] add@/class/scsi_generic/sg1
ACTION=add
DEVPATH=/class/scsi_generic/sg1
SUBSYSTEM=scsi_generic
SEQNUM=1176
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
MAJOR=21
MINOR=1

UDEV  [1236449423.991470] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
SUBSYSTEM=scsi
SEQNUM=1171
PHYSDEVBUS=scsi
UDEVD_EVENT=1

UDEV  [1236449424.254942] add@/class/scsi_disk/17:0:0:0
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_disk/17:0:0:0
SUBSYSTEM=scsi_disk
SEQNUM=1172
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1

UDEV  [1236449424.381450] add@/class/scsi_generic/sg1
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_generic/sg1
SUBSYSTEM=scsi_generic
SEQNUM=1176
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
MAJOR=21
MINOR=1
UDEVD_EVENT=1
DEVNAME=/dev/sg1

UDEV  [1236449424.663251] add@/block/sdb
UDEV_LOG=3
ACTION=add
DEVPATH=/block/sdb
SUBSYSTEM=block
SEQNUM=1173
MINOR=16
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1
ID_VENDOR=Kingston
ID_MODEL=DataTraveler_2.0
ID_REVISION=PMAP
ID_SERIAL=Kingston_DataTraveler_2.0_000AEB9201705B89101604D3
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0
DEVNAME=/dev/jetusbdrive
DEVLINKS=/dev/disk/by-id/usb-Kingston_DataTraveler_2.0_000AEB9201705B89101604D3
/dev/disk/by-path/pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0

UDEV  [1236449424.779241] add@/class/scsi_device/17:0:0:0
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_device/17:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=1175
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1

UDEV  [1236449425.480259] add@/block/sdb/sdb1
UDEV_LOG=3
ACTION=add
DEVPATH=/block/sdb/sdb1
SUBSYSTEM=block
SEQNUM=1174
MINOR=17
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host17/target17:0:0/17:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1
ID_VENDOR=Kingston
ID_MODEL=DataTraveler_2.0
ID_REVISION=PMAP
ID_SERIAL=Kingston_DataTraveler_2.0_000AEB9201705B89101604D3
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=58C7-E1D7
ID_FS_LABEL=JOY
ID_FS_LABEL_SAFE=JOY
DEVNAME=/dev/jetusbdrive
DEVLINKS=/dev/disk/by-id/usb-Kingston_DataTraveler_2.0_000AEB9201705B89101604D3-part1
/dev/disk/by-path/pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/58C7-E1D7 /dev/disk/by-label/JOY

second  transusbdrive

udevmonitor prints the received event from the kernel [UEVENT]
and the event which udev sends out after rule processing [UDEV]

UEVENT[1236449630.754775] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
SUBSYSTEM=usb
SEQNUM=1190
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb

UEVENT[1236449630.754781] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.19_ep00
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.19_ep00
SUBSYSTEM=usb_endpoint
SEQNUM=1191
MAJOR=442
MINOR=2066

UEVENT[1236449630.765277] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
SUBSYSTEM=usb
SEQNUM=1192
PHYSDEVBUS=usb
DEVICE=/proc/bus/usb/002/019
PRODUCT=58f/6387/142
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v058Fp6387d0142dc00dsc00dp00ic08isc06ip50

UEVENT[1236449630.765318] add@/class/scsi_host/host18
ACTION=add
DEVPATH=/class/scsi_host/host18
SUBSYSTEM=scsi_host
SEQNUM=1193
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18

UEVENT[1236449630.765338] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep01
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep01
SUBSYSTEM=usb_endpoint
SEQNUM=1194
MAJOR=442
MINOR=2066

UEVENT[1236449630.765358] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep82
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep82
SUBSYSTEM=usb_endpoint
SEQNUM=1195
MAJOR=442
MINOR=2066

UEVENT[1236449630.765382] add@/class/usb_device/usbdev2.19
ACTION=add
DEVPATH=/class/usb_device/usbdev2.19
SUBSYSTEM=usb_device
SEQNUM=1196
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
MAJOR=189
MINOR=146

UDEV  [1236449630.772076] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
SUBSYSTEM=usb
SEQNUM=1190
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
UDEVD_EVENT=1

UDEV  [1236449630.888930] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.19_ep00
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/usbdev2.19_ep00
SUBSYSTEM=usb_endpoint
SEQNUM=1191
MAJOR=442
MINOR=2066
UDEVD_EVENT=1
DEVNAME=/dev/usbdev2.19_ep00

UDEV  [1236449631.066128] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0
SUBSYSTEM=usb
SEQNUM=1192
PHYSDEVBUS=usb
DEVICE=/proc/bus/usb/002/019
PRODUCT=58f/6387/142
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v058Fp6387d0142dc00dsc00dp00ic08isc06ip50
UDEVD_EVENT=1

UDEV  [1236449631.338860] add@/class/scsi_host/host18
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_host/host18
SUBSYSTEM=scsi_host
SEQNUM=1193
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18
UDEVD_EVENT=1

UDEV  [1236449631.374854] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep01
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep01
SUBSYSTEM=usb_endpoint
SEQNUM=1194
MAJOR=442
MINOR=2066
UDEVD_EVENT=1
DEVNAME=/dev/usbdev2.19_ep01

UDEV  [1236449631.479868] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep82
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/usbdev2.19_ep82
SUBSYSTEM=usb_endpoint
SEQNUM=1195
MAJOR=442
MINOR=2066
UDEVD_EVENT=1
DEVNAME=/dev/usbdev2.19_ep82

UDEV  [1236449631.614036] add@/class/usb_device/usbdev2.19
UDEV_LOG=3
ACTION=add
DEVPATH=/class/usb_device/usbdev2.19
SUBSYSTEM=usb_device
SEQNUM=1196
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1
PHYSDEVBUS=usb
PHYSDEVDRIVER=usb
MAJOR=189
MINOR=146
UDEVD_EVENT=1
DEVNAME=/dev/bus/usb/002/019

UEVENT[1236449636.785026] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
SUBSYSTEM=scsi
SEQNUM=1197
PHYSDEVBUS=scsi

UEVENT[1236449636.785494] add@/class/scsi_disk/18:0:0:0
ACTION=add
DEVPATH=/class/scsi_disk/18:0:0:0
SUBSYSTEM=scsi_disk
SEQNUM=1198
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449636.913085] add@/block/sdb
ACTION=add
DEVPATH=/block/sdb
SUBSYSTEM=block
SEQNUM=1199
MINOR=16
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449636.913130] add@/block/sdb/sdb1
ACTION=add
DEVPATH=/block/sdb/sdb1
SUBSYSTEM=block
SEQNUM=1200
MINOR=17
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449636.913151] add@/block/sdb/sdb5
ACTION=add
DEVPATH=/block/sdb/sdb5
SUBSYSTEM=block
SEQNUM=1201
MINOR=21
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449636.913172] add@/class/scsi_device/18:0:0:0
ACTION=add
DEVPATH=/class/scsi_device/18:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=1202
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd

UEVENT[1236449636.913192] add@/class/scsi_generic/sg1
ACTION=add
DEVPATH=/class/scsi_generic/sg1
SUBSYSTEM=scsi_generic
SEQNUM=1203
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
MAJOR=21
MINOR=1

UDEV  [1236449637.018044] add@
/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
SUBSYSTEM=scsi
SEQNUM=1197
PHYSDEVBUS=scsi
UDEVD_EVENT=1

UDEV  [1236449637.332178] add@/class/scsi_disk/18:0:0:0
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_disk/18:0:0:0
SUBSYSTEM=scsi_disk
SEQNUM=1198
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1

UDEV  [1236449637.411606] add@/class/scsi_generic/sg1
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_generic/sg1
SUBSYSTEM=scsi_generic
SEQNUM=1203
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
MAJOR=21
MINOR=1
UDEVD_EVENT=1
DEVNAME=/dev/sg1

UDEV  [1236449637.701520] add@/class/scsi_device/18:0:0:0
UDEV_LOG=3
ACTION=add
DEVPATH=/class/scsi_device/18:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=1202
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1

UDEV  [1236449637.727467] add@/block/sdb
UDEV_LOG=3
ACTION=add
DEVPATH=/block/sdb
SUBSYSTEM=block
SEQNUM=1199
MINOR=16
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1
ID_VENDOR=JetFlash
ID_MODEL=TS8GJFV10
ID_REVISION=8.01
ID_SERIAL=JetFlash_TS8GJFV10_ZW6JJ6KSFC2F
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0
DEVNAME=/dev/jetusbdrive
DEVLINKS=/dev/disk/by-id/usb-JetFlash_TS8GJFV10_ZW6JJ6KSFC2F
/dev/disk/by-path/pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0

UDEV  [1236449638.183458] add@/block/sdb/sdb1
UDEV_LOG=3
ACTION=add
DEVPATH=/block/sdb/sdb1
SUBSYSTEM=block
SEQNUM=1200
MINOR=17
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1
ID_VENDOR=JetFlash
ID_MODEL=TS8GJFV10
ID_REVISION=8.01
ID_SERIAL=JetFlash_TS8GJFV10_ZW6JJ6KSFC2F
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0
DEVNAME=/dev/jetusbdrive
DEVLINKS=/dev/disk/by-id/usb-JetFlash_TS8GJFV10_ZW6JJ6KSFC2F-part1
/dev/disk/by-path/pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0-part1

UDEV  [1236449638.366872] add@/block/sdb/sdb5
UDEV_LOG=3
ACTION=add
DEVPATH=/block/sdb/sdb5
SUBSYSTEM=block
SEQNUM=1201
MINOR=21
MAJOR=8
PHYSDEVPATH=/devices/pci0000:00/0000:00:11.0/0000:02:02.0/usb2/2-1/2-1:1.0/host18/target18:0:0/18:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
UDEVD_EVENT=1
ID_VENDOR=JetFlash
ID_MODEL=TS8GJFV10
ID_REVISION=8.01
ID_SERIAL=JetFlash_TS8GJFV10_ZW6JJ6KSFC2F
ID_TYPE=disk
ID_BUS=usb
ID_PATH=pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0
ID_FS_USAGE=filesystem
ID_FS_TYPE=vfat
ID_FS_VERSION=FAT32
ID_FS_UUID=B00A-BE19
ID_FS_LABEL=JOY
ID_FS_LABEL_SAFE=JOY
DEVNAME=/dev/jetusbdrive
DEVLINKS=/dev/disk/by-id/usb-JetFlash_TS8GJFV10_ZW6JJ6KSFC2F-part5
/dev/disk/by-path/pci-0000:02:02.0-usb-0:1:1.0-scsi-0:0:0:0-part5
/dev/disk/by-uuid/B00A-BE19 /dev/disk/by-label/JOY








On Fri, Mar 6, 2009 at 1:46 AM, Michael Scully <
agentscully@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> Rob:
>
>        Immensely helpful.  Thanks for the push in the right direction.
>
> Scully
>
>
>
>
> http://www.linuxconfig.org/Override_/_rename_your_usb_hard_drive%27s_device_
> name_with_udev_rules
>
> Short valid tutorial.
>
> Rob Marti
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux