LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Access Flash Drive (https://www.linuxquestions.org/questions/linux-newbie-8/access-flash-drive-704256/)

Ace Blackwell 02-12-2009 02:57 PM

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

ceantuco 02-12-2009 03:09 PM

Hi,

connect your device then run as root df and post the results here.

Ace Blackwell 02-12-2009 03:27 PM

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

repo 02-12-2009 03:35 PM

Code:

cd /media/disk
ls


Ace Blackwell 02-12-2009 03:59 PM

Cool,

Why not /dev/sdb1? Just curious. Thanks

Ace

jstephens84 02-12-2009 04:02 PM

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.

ceantuco 02-12-2009 10:03 PM

I'm glad it worked for you!


All times are GMT -5. The time now is 06:36 PM.