LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-13-2009, 10:19 PM   #1
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
Having mount trouble


I used to be able to mount my USB drive very easily:
Code:
mount /dev/sdb1 /mnt/camera
That was all it took.

Trying it today, /dev/sdb1 isn't a device, and it looks like the USB device is at /dev/sdd and is scsi emulated.

Then I try:
Code:
mount -t usbfs /dev/sdd /mnt/camera
but it doesn't work. I can't get to the files on the device.

I did recently update my OS again [to current], but I am not sure where I might have gone wrong.

Can someone help me figure this out? Thanks.
 
Old 06-13-2009, 10:54 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
usbfs is like proc you don't use either of them for file storage, they exist for device management

When you plug in a USB drive of some type wait until you get the device (you have /dev/sdd)

Then mount that device the same way you used to mount it

Code:
mount /dev/sdb1 /mnt/camera
becomes

Code:
mount /dev/sdd1 /mnt/camera
 
Old 06-15-2009, 04:57 AM   #3
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by spaceballs View Post
I used to be able to mount my USB drive very easily:
Code:
mount /dev/sdb1 /mnt/camera
That was all it took.

Trying it today, /dev/sdb1 isn't a device, and it looks like the USB device is at /dev/sdd and is scsi emulated.

Then I try:
Code:
mount -t usbfs /dev/sdd /mnt/camera
but it doesn't work. I can't get to the files on the device.

I did recently update my OS again [to current], but I am not sure where I might have gone wrong.

Can someone help me figure this out? Thanks.
after you inserted your usb drive, wait for a few seconds
then type in
# cat /proc/partitions
look at the last column in last line, should say something like
sdb1 or sdc1, ...
that should be the device name you should use

# mount /dev/sdb1 /mnt/camera
or
# mount /dev/sdc1 /mnt/camera
...
according to what you got in /proc/partitions

you could also, as root, use
# blkid
and this displays all the visible partitions (device name in the 1st column,
and the filesystem type in the last column)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble with nfs mount on Solaris hak_uc Linux - Networking 2 10-26-2006 12:40 PM
CD-ROM mount trouble kaito Linux - Hardware 3 02-07-2005 07:01 AM
mount trouble with DNS jmono Linux - Networking 3 06-08-2003 06:29 PM
NTFS mount trouble Redukt Linux - Hardware 13 02-17-2003 11:24 AM
NFS Mount Trouble irishb3 Linux - General 1 02-10-2003 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration