On Tuesday 25 Jan 2005 19:57 pm, Randall R Schulz wrote:
Dylan,
On Tuesday 25 January 2005 11:10, Dylan wrote:
...
Have you checked what happens during the hotplug part of the process to generate the name from the device h/ware?
It's derived from the device's identifying information, including its serial number:
I was thinking more of the scripts in /etc/hotplug to see if you can override it there Dylan
% cd /media % ls -ld usb* drwxrwxrwx 1 root root 0 2004-12-22 11:14 usb-storage-D235281419110:0:0:0p1
The relevent entry in /proc/bus/usb/devices:
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=05dc ProdID=0080 Rev= 0.01 S: Manufacturer=LEXAR MEDIA S: Product=JUMPDRIVE S: SerialNumber=D235281419110 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 90mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
Dylan
Randall Schulz
-- "I see your Schwartz is as big as mine" -Dark Helmet