LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 12-04-2007, 09:43 AM   #1
saidul
LQ Newbie
 
Registered: Nov 2007
Posts: 12

Rep: Reputation: 0
Need to know the command which shows all non-partitioned & partitioned hard drive


hi,

i am just a tyro. plz answer my question which i asked as my subject line.when i use the command fdisk -l it just shows the partitioned drive. but i want to see the all drive irrespective of partitioned and non partitioned.

saidul
 
Old 12-04-2007, 10:56 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
fdisk -l should show both, check your distro's alias commands to make sure it's not hiding them.

-Chad
 
Old 12-04-2007, 04:02 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
fdisk gives you the total size of the drive, and the parameters for each partition. You have to calculate the remaining space. GUI tools such as GParted do the math for you.

Don't know what you mean by "see all the drive"--in the unpartitioned areas, there's nothing to see.

If you want to see everything on the drive--byte by byte---you can use dd + hexdump.
 
  


Reply

Tags
from


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My partitioned hard drive-how to get more use out of it lrecine Linux - Desktop 2 09-08-2006 07:17 AM
LiveCD and Partitioned Drive sam5550 Ubuntu 5 05-04-2006 10:41 PM
mounting NTFS/fat32 partitioned hard drive (win2k) /when fedora4 runs on seperate HD bowie101 Linux - Newbie 25 12-15-2005 12:13 PM
mounting NTFS/fat32 partitioned hard drive (win2k) /when fedora4 runs on seperate HD bowie101 Linux - Hardware 4 12-14-2005 03:42 PM
Hard drive partitioned and cannot view files Johnny2003 Linux - Newbie 4 01-20-2004 07:22 PM


All times are GMT -5. The time now is 05:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration