LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 02:31 AM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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, 02: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, 02:53 AM   #3
pejobe
LQ Newbie
 
Registered: Nov 2009
Posts: 21

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, 04:08 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

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

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

Original Poster
Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
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, 08:16 PM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

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

sudo umount /dev/yourdevice

Thanks.
 
Old 04-07-2010, 11:39 PM   #7
bakdong
Member
 
Registered: Apr 2009
Posts: 214

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:31 AM.

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