LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2010, 03:31 AM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Rep: Reputation: 181Reputation: 181
Question Thumbdrive How To Read


hi experts, i installed Ubuntu 9.10 and i inserted a thumbdrive on one of the usb slots on my laptop upon inserting it shows:
[sdb] Assuming drive cache: Write through
[977.113519] sd 5:0:0:0: [sdb] Assuming cache: Write through

how to read the contents of my thumbdrive?

Do i need to mount it first or what should be the procedure?

Thanks. Newbie on linux world.
 
Old 04-07-2010, 03:47 AM   #2
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Yes, you would normally mount it using something similar to :

mount /dev/sdb1 /mnt/usb

The /mnt/usb directory must already exist, and the sdb1 entry may change. fdisk -l (small L for List) shows useful output for this.

After that you access it through the /mnt/usb directory.

umount it before you take it out of the machine.
 
Old 04-07-2010, 03:53 AM   #3
pejobe
LQ Newbie
 
Registered: Nov 2009
Posts: 18

Rep: Reputation: 3
$ man mount
The standard form of the mount command, is

mount -t type device dir

that is, you could try as root:

# mount -t vfat /dev/sdb1 /mnt/memory
or
# mount -t vfat /dev/sdb1 /media/sdb1

Not sure if the device: /dev/sdb1 is applicable to ubuntu
 
Old 04-07-2010, 05:08 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,372

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
It should have mounted by default I would have thought.

Simply running the "mount" command would prove or not.
 
Old 04-07-2010, 09:12 PM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Original Poster
Rep: Reputation: 181Reputation: 181
Thumbs up

Quote:
Originally Posted by bakdong View Post
Yes, you would normally mount it using something similar to :

mount /dev/sdb1 /mnt/usb

The /mnt/usb directory must already exist, and the sdb1 entry may change. fdisk -l (small L for List) shows useful output for this.

After that you access it through the /mnt/usb directory.

umount it before you take it out of the machine.
i use this command:
mount /dev/sdb1 /mnt/usb

and it works fine..
 
Old 04-07-2010, 09:16 PM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Original Poster
Rep: Reputation: 181Reputation: 181
to unmount a usb drive would this command works:

sudo umount /dev/yourdevice

Thanks.
 
Old 04-08-2010, 12:39 AM   #7
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Yes. or umount /mnt/usb (or the directory you mounted it at).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
thumbdrive is auto mounting as both cd-rom & thumbdrive scott1042 Fedora 2 04-27-2007 06:03 PM
RH9-Can't read USB thumbdrive? sceadu Red Hat 1 01-13-2005 11:08 PM
USB thumbdrive being "read only" Schrambo Linux - Hardware 1 06-15-2004 03:28 AM
Mounting a usb thumbdrive st windows files can be read qkslvrwolf Linux - Newbie 2 04-12-2004 10:52 AM
Thumbdrive Buttercups Linux - Hardware 5 04-09-2004 12:02 PM


All times are GMT -5. The time now is 11:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration