On Sun, 2006-04-30 at 13:06 +1000, john gibbons wrote:
> Would some kind slugger please tell me what I have to type into the 
> terminal to mount my flash drive in Fedora 4?

As mentioned elsewhere, there's a good chance Fedora is detecting it and
mounting it for you. Run mount without any arguments to tell you what
devices are mounted. Otherwise, here's what I wrote to a friend who
asked me the exact same question last week:

Plug it in, give it a few seconds for drivers and things
to be loaded, then look in the system logs (either /var/log/messages
or /var/log/syslog). Down the very end you'll see a bunch of messages
from the usb storage driver detecting the stick. I just plugged my stick
in and got:

Apr 27 15:31:00 localhost kernel: [4323476.154000] usb 5-8: new high speed USB 
device using ehci_hcd and address 3
Apr 27 15:31:01 localhost kernel: [4323477.109000] Initializing USB Mass 
Storage driver...
Apr 27 15:31:01 localhost kernel: [4323477.109000] scsi2 : SCSI emulation for 
USB Mass Storage devices
Apr 27 15:31:01 localhost kernel: [4323477.109000] usbcore: registered new 
driver usb-storage
Apr 27 15:31:01 localhost kernel: [4323477.109000] USB Mass Storage support 
registered.
Apr 27 15:31:06 localhost kernel: [4323482.113000]   Vendor: Intel     Model: 
Flash Disk2.0     Rev: 2.00
Apr 27 15:31:06 localhost kernel: [4323482.113000]   Type:   Direct-Access      
           ANSI SCSI revision: 02
Apr 27 15:31:07 localhost kernel: [4323483.190000] ready
Apr 27 15:31:07 localhost kernel: [4323483.201000] SCSI device sdb: 119574 
512-byte hdwr sectors (61 MB)
Apr 27 15:31:07 localhost kernel: [4323483.213000] sdb: Write Protect is off
Apr 27 15:31:07 localhost kernel: [4323483.255000] SCSI device sdb: 119574 
512-byte hdwr sectors (61 MB)
Apr 27 15:31:07 localhost kernel: [4323483.266000] sdb: Write Protect is off
Apr 27 15:31:07 localhost kernel: [4323483.266000]  sdb: sdb1
Apr 27 15:31:07 localhost kernel: [4323483.337000] sd 2:0:0:0: Attached scsi 
removable disk sdb
Apr 27 15:31:07 localhost kernel: [4323483.337000] sd 2:0:0:0: Attached scsi 
generic sg2 type 0

There's two important things here you need to know. First this line:
Apr 27 15:31:07 localhost kernel: [4323483.255000] SCSI device sdb:
119574 512-byte hdwr sectors (61 MB)
tells me that the driver found a 64MB (OK, only 61MB usable space) USB
device, and assigned it to sdb. That means the key is /dev/sdb . It's
more likely on your box that it'll come up as sda , but keep an eye out.

Secondly, this line:
Apr 27 15:31:07 localhost kernel: [4323483.266000]  sdb: sdb1
tells me what partitions are on the sdb device. It's almost certain that
your key will be like mine, and just have the one partition, which will
be /dev/sdb1 .

So, check the logs, find the device for the partition, and then mount
that. If I wanted to mount my key, I'd run
mount /dev/sdb1 /mnt

And then I'd be able to change to /mnt and browse the key.

-- 
Pete

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to