LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 01-10-2003, 01:57 AM   #1
mrengc
LQ Newbie
 
Registered: Nov 2002
Location: edmonton
Distribution: red hat, mandrake
Posts: 4

Rep: Reputation: 0
Question formatting HDD


How do I check Hard Drive capacity, partition and format drives in Linux?
 
Old 01-10-2003, 02:06 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Check HD capacity:
df -h (or I think fdisk -s /dev/hdX?) Although that only applies to mounted partitions/hd's

Check a partition:
fdisk -l

Format:
mke2fs -j /dev/hdX

Those are generic and not all inclusive, if you have a more in depth question about them, I'd be happy to elaborate.

Cool
 
  


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
Partioning and formatting HDD Hikito Linux - Newbie 4 09-11-2004 04:35 PM
Formatting Linux HDD alex101 Mandriva 1 04-25-2004 12:02 PM
Formatting 200GB HDD Problem Phantisy Linux - General 14 03-28-2004 09:12 AM
Formatting a Laptop HDD Haggy Linux - Laptop and Netbook 2 01-01-2004 03:02 AM
Help for formatting external hdd !! sudhir Linux - Hardware 4 12-12-2003 12:30 AM


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