Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] mounting a usb floppy drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
trek
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2005
Posts: 77

PostPosted: Mon Aug 15, 2005 6:45 pm    Post subject: [SOLVED] mounting a usb floppy drive Reply with quote

I need to find out what device my usb floppy drive is on so that i can mount it. How would i do that? Thanks.

Last edited by trek on Mon Aug 15, 2005 8:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
jdaugherty
n00b
n00b


Joined: 15 Aug 2005
Posts: 23

PostPosted: Mon Aug 15, 2005 6:54 pm    Post subject: Reply with quote

After plugging the device in, do a "dmesg" It will show the location that it created the device block in /dev/. You can also try "lsusb" to find out what usb devices you have plugged into your machine and their location (I think).
Back to top
View user's profile Send private message
trek
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2005
Posts: 77

PostPosted: Mon Aug 15, 2005 7:07 pm    Post subject: Reply with quote

When I run lsusb, it prints:

Code:
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 03ee:6901 Mitsumi SmartDisk FDD
Bus 001 Device 003: ID 05af:080a Jing-Mold Enterprise Co., Ltd
Bus 001 Device 001: ID 0000:0000



And the applicable part of dmesg printed is:

Code:
USB Mass Storage device found at 4
usb 1-1: USB disconnect, address 4
usb 1-1: new full speed USB device using address 5
scsi5 : SCSI emulation for USB Mass Storage devices
  Vendor: MITSUMI   Model: USB FDD           Rev: 1039
  Type:   Direct-Access                      ANSI SCSI revision: 02
USB Mass Storage device found at 5



Is possible to derive the location of the device in /dev from this?
Back to top
View user's profile Send private message
jdaugherty
n00b
n00b


Joined: 15 Aug 2005
Posts: 23

PostPosted: Mon Aug 15, 2005 7:09 pm    Post subject: Reply with quote

Is there any other dmesg output then what you gave? I'd guess from reading what you posted that it would be under /dev/usb/fd* or /dev/sd* or /dev/fd*
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Mon Aug 15, 2005 7:14 pm    Post subject: Reply with quote

Like all USB storage, it acts like an SCSI device, on /dev/sdX (the exact device depends on the presence of other scsi or scsi-like devices).

Last edited by widan on Mon Aug 15, 2005 7:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
trek
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2005
Posts: 77

PostPosted: Mon Aug 15, 2005 7:14 pm    Post subject: Reply with quote

That is the only thing new that it outputed in dmesg. I tried mount /dev/fd/* /mnt/floppy and I got:

Code:
mount: /dev/fd/0 is not a block device


for each one. /dev/sd doesn't exist and there is nothing in my /dev/usb/ folder.
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Mon Aug 15, 2005 7:15 pm    Post subject: Reply with quote

trek wrote:
/dev/sd doesn't exist

Try /dev/sda, maybe sdb or the next ones if you have other SCSI-like devices.
Back to top
View user's profile Send private message
trek
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2005
Posts: 77

PostPosted: Mon Aug 15, 2005 7:17 pm    Post subject: Reply with quote

I have /dev/scsi/ but that folder is empty as well, but i don't have anything involving /dev/sd, /dev/sda, /dev/sdb, or the likes.
Back to top
View user's profile Send private message
jdaugherty
n00b
n00b


Joined: 15 Aug 2005
Posts: 23

PostPosted: Mon Aug 15, 2005 7:21 pm    Post subject: Reply with quote

What is in the folder /dev/usb
Back to top
View user's profile Send private message
trek
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2005
Posts: 77

PostPosted: Mon Aug 15, 2005 7:24 pm    Post subject: Reply with quote

Quote:
What is in the folder /dev/usb


nothing.
Back to top
View user's profile Send private message
jdaugherty
n00b
n00b


Joined: 15 Aug 2005
Posts: 23

PostPosted: Mon Aug 15, 2005 7:31 pm    Post subject: Reply with quote

Is there something called /dev/scsi5? (Just a wild guess)
Back to top
View user's profile Send private message
trek
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jul 2005
Posts: 77

PostPosted: Mon Aug 15, 2005 8:14 pm    Post subject: Reply with quote

i checked my config and apparently I didn't have floppy disk support built into the kernel. I recompiled and it works now. Thanks for all your help guys.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum