LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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: 39
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: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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: 39
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: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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

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

All times are GMT -5. The time now is 02:25 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
Open Source Consulting | Domain Registration