LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-12-2009, 02:57 PM   #1
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 307

Rep: Reputation: 41
Access Flash Drive


This is probably something I should already know, but...

When I install my flash drive, I can access it no problem in KDE but I can't seem to find it from the prompt. I've looked in /media (I think) like Konquer says its in but I can't see it. It's not a major hang up but I would like to jump around the drives sometimes from the command line.

Thanks
Ace
 
Old 02-12-2009, 03:09 PM   #2
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali, Ubuntu, OpenSuse
Posts: 618

Rep: Reputation: 40
Hi,

connect your device then run as root df and post the results here.
 
Old 02-12-2009, 03:27 PM   #3
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 307

Original Poster
Rep: Reputation: 41
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 115345540 58946280 50539956 54% /
/dev/sda1 178639916 107673444 70966472 61% /ntfs-c
/dev/sda2 13574924 11022276 2552648 82% /ntfs-d
tmpfs 1988980 0 1988980 0% /dev/shm
/dev/sdb1 996528 672480 324048 68% /media/disk

Thanks
Ace
 
Old 02-12-2009, 03:35 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Code:
cd /media/disk
ls
 
Old 02-12-2009, 03:59 PM   #5
Ace Blackwell
Member
 
Registered: Mar 2004
Location: Kentucky, USA
Distribution: SlamD 12.1 / Slack 12.0 ~ 14.2_64
Posts: 307

Original Poster
Rep: Reputation: 41
Cool,

Why not /dev/sdb1? Just curious. Thanks

Ace
 
Old 02-12-2009, 04:02 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
simply because /media/disk has a mapping that will point back to all usb devices plugged in. Due to the PnP feature in linux. if you look at the last line that is where you will see the mapping. but you could have done mount /dev/sdb1 but then you would have had to specify the /media/disk afterwards.
Code:
moutnt /dev/sdb1 /media/disk
repo was just giving you a shorter alternative.

Last edited by jstephens84; 02-12-2009 at 04:03 PM.
 
Old 02-12-2009, 10:03 PM   #7
ceantuco
Member
 
Registered: Mar 2008
Location: New Jersey
Distribution: CentOS, Debian, Kali, Ubuntu, OpenSuse
Posts: 618

Rep: Reputation: 40
I'm glad it worked for you!
 
  


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
how to access files in USb flash drive riba43 SUSE / openSUSE 4 07-09-2007 03:34 AM
cannot access flash drive RIGBYREDPATH Linux - Hardware 1 09-06-2006 09:36 AM
Access USB flash drive? Zeno McDohl Linux - Newbie 4 01-16-2006 12:47 PM
new user- can't access my flash drive kebi Linux - Software 1 08-17-2005 11:04 AM
How to access a USB flash drive captainpicard Linux - Hardware 1 04-20-2003 12:19 PM


All times are GMT -5. The time now is 09:36 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