On Monday 14 March 2005 5:43, Justin Gedge wrote: > I'd check the /var/log/messages file with > > tail -f /var/log/messages > > observe this as you plug the thumb drive in/out to see which device it's > being assigned too. Some of these USB devices are a little tricky to > follow -- I've noticed that at work on RedHat7.3-- I can just add an > entry to the /etc/fstab file like you described-- and at home on > SuSE8.2-- It goes through with some proc daemon that auto mounts my usb > keychain. Since I've formatted my flash keychain drive as an ext2 > format-- I need to have an entry in the /etc/fstab to force it to ext2 > fs. At home-- the only trick is I have to manually unmount the > incorrectly mounted device and then manually remount it. > This is what I get, but I don't fully understand it.
'Mar 14 20:58:14 mepis1 kernel: usb 1-3: USB disconnect, address 4 Mar 14 20:58:15 mepis1 usb.agent[3348]: update fstab on remove device Mar 14 20:58:15 mepis1 kernel: Device not ready. Make sure there is a disc in the drive. Mar 14 20:58:15 mepis1 scsi.agent[3340]: update fstab on remove device Mar 14 20:58:15 mepis1 kernel: Device not ready. Make sure there is a disc in the drive. Mar 14 20:58:15 mepis1 last message repeated 2 times Mar 14 20:58:57 mepis1 kernel: usb 1-3: new high speed USB device using address 5 Mar 14 20:58:57 mepis1 kernel: scsi3 : SCSI emulation for USB Mass Storage devices Mar 14 20:58:58 mepis1 kernel: Vendor: Samsung Model: Mighty Drive Rev: PMAP Mar 14 20:58:58 mepis1 kernel: Type: Direct-Access ANSI SCSI revision: 02 Mar 14 20:58:58 mepis1 usb.agent[3390]: usb-storage: loaded successfully Mar 14 20:58:58 mepis1 kernel: SCSI device sdb: 502784 512-byte hdwr sectors (257 MB) Mar 14 20:58:58 mepis1 kernel: sdb: assuming Write Enabled Mar 14 20:58:58 mepis1 kernel: sdb: sdb1 Mar 14 20:58:58 mepis1 kernel: Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0 Mar 14 20:58:58 mepis1 kernel: Attached scsi generic sg1 at scsi3, channel 0, id 0, lun 0, type 0 Mar 14 20:59:04 mepis1 scsi.agent[3426]: update fstab on add device Mar 14 20:59:04 mepis1 kernel: Device not ready. Make sure there is a disc in the drive. Mar 14 20:59:04 mepis1 kernel: Device not ready. Make sure there is a disc in the drive. JB .===================================. | This has been a P.L.U.G. mailing. | | Don't Fear the Penguin. | | IRC: #utah at irc.freenode.net | `==================================='
