LinuxQuestions.org
Review your favorite Linux distribution.
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 05-26-2008, 09:29 AM   #1
writedom
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0
How to list USB Drive Assignment


If I use GParted I can see all attached USB drives even if they are not formatted. GParted provides the size of the drive and the location (/dev/sdb).

Is there another way, just using the command line, that will show me this information?
 
Old 05-26-2008, 09:45 AM   #2
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 37
Try
Code:
df -h
it will list your attached usb devices.
 
Old 05-26-2008, 09:53 AM   #3
writedom
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
The unformatted drive does not show up.
 
Old 05-26-2008, 09:56 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
As root:
Code:
fdisk -l
 
Old 05-26-2008, 10:22 AM   #5
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 37
Quote:
Originally Posted by tredegar View Post
As root:
Code:
fdisk -l
This will do it, was going to be my next suggestion but tredgar beat me to it. just kidding
 
Old 05-26-2008, 11:29 AM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
HeHe. Don't feel bad, LQ is not a contest
 
  


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
LinDVD Drive Assignment crispus Mandriva 3 09-01-2007 06:30 PM
Perl: Optimising List Assignment mistersnorfles Programming 5 08-21-2007 09:41 PM
Clearing USB SCSI Host Assignment # bbas Linux - Software 1 08-05-2007 10:54 AM
[SOLVED] hard drive dev assignment in GRUB daisychick Fedora 14 12-09-2006 11:33 AM
Strange drive re-assignment... rberry88 Linux - General 4 03-08-2004 05:22 PM


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