On Sat, Aug 16, 2008 at 10:07:53 -0400, Paul Cartwright ([EMAIL PROTECTED]) wrote:
> On Sat August 16 2008, Ron Johnson wrote: > > > I have 2 or 3 different USB sticks that I would like to automount, how do > > > I find out or determine their UUID?? > > > > # blkid /dev/sdg1 > > now theres a command I've never heard of!! > ~# blkid /dev/sdg1 > /dev/sdg1: UUID="686C-7E81" TYPE="vfat" > > so, how do I put that in a sentence and use it:) > I looked in control center, under peripherals,storage media, but nothing > jumps > out at me about making it automount .. > ok, so I spent the last hour working on autofs.. > I can get the device mounted like this: > mount /dev/sdg /media/sdg1 > > but not using autofs.. Isn't the mounting done by the hal daemon? Just looking at the last line of syslog after plugging in a 256MB Kingston USB stick: Aug 16 15:46:08 trantor kernel: [35253.878866] usb 5-3: new high speed USB device using ehci_hcd and address 5 Aug 16 15:46:08 trantor kernel: [35254.049400] usb 5-3: configuration #1 chosen from 1 choice Aug 16 15:46:08 trantor kernel: [35254.065755] scsi2 : SCSI emulation for USB Mass Storage devices Aug 16 15:46:08 trantor kernel: [35254.075305] usb 5-3: New USB device found, idVendor=0930, idProduct=6532 Aug 16 15:46:08 trantor kernel: [35254.075314] usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Aug 16 15:46:08 trantor kernel: [35254.075317] usb 5-3: Product: DataTraveler 2.0 Aug 16 15:46:08 trantor kernel: [35254.075319] usb 5-3: Manufacturer: Kingston Aug 16 15:46:08 trantor kernel: [35254.075321] usb 5-3: SerialNumber: 09F0A35110F0A948 Aug 16 15:46:08 trantor kernel: [35254.075678] usb-storage: device found at 5 Aug 16 15:46:08 trantor kernel: [35254.075682] usb-storage: waiting for device to settle before scanning Aug 16 15:46:13 trantor kernel: [35259.786176] usb-storage: device scan complete Aug 16 15:46:13 trantor kernel: [35259.787255] scsi 2:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.04 PQ: 0 ANSI: 0 CCS Aug 16 15:46:13 trantor kernel: [35260.125138] sd 2:0:0:0: [sda] 501760 512-byte hardware sectors (257 MB) Aug 16 15:46:13 trantor kernel: [35260.125853] sd 2:0:0:0: [sda] Write Protect is off Aug 16 15:46:13 trantor kernel: [35260.125859] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00 Aug 16 15:46:13 trantor kernel: [35260.125862] sd 2:0:0:0: [sda] Assuming drive cache: write through Aug 16 15:46:13 trantor kernel: [35260.128763] sd 2:0:0:0: [sda] 501760 512-byte hardware sectors (257 MB) Aug 16 15:46:13 trantor kernel: [35260.129504] sd 2:0:0:0: [sda] Write Protect is off Aug 16 15:46:13 trantor kernel: [35260.129504] sd 2:0:0:0: [sda] Mode Sense: 23 00 00 00 Aug 16 15:46:13 trantor kernel: [35260.129504] sd 2:0:0:0: [sda] Assuming drive cache: write through Aug 16 15:46:13 trantor kernel: [35260.129504] sda: unknown partition table Aug 16 15:46:13 trantor kernel: [35260.131490] sd 2:0:0:0: [sda] Attached SCSI removable disk Aug 16 15:46:14 trantor kernel: [35260.848021] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! Aug 16 15:46:14 trantor hald: mounted /dev/sda on behalf of uid 1000 Also: trantor:/var/log# mount | grep -i kingston /dev/sda on /media/KINGSTON256 type vfat (rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=1000,utf8,shortname=lower) and: trantor:/var/log# blkid /dev/sda /dev/sda: LABEL="KINGSTON256" UUID="0038-9E3A" TYPE="vfat" Note /dev/sda not /dev/sda1 which may be something to do with the "unknown partition table" line in syslog. -- Bob Cox. Stoke Gifford, near Bristol, UK. Registered user #445000 with the Linux Counter - http://counter.li.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]