Need to know the command which shows all non-partitioned & partitioned hard drive
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.