LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-14-2003, 08:04 PM   #1
ilengna
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
Harddisk capacity


guys.. how to know the capacity of hard disk, like window: right click on drive C:\ - properties..

thx guys..
 
Old 10-14-2003, 08:18 PM   #2
DoubleOTeC
Member
 
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
the command 'df' may help....this shows the partitions and there size and usage stats....

'df --help' for more options
 
Old 10-14-2003, 08:19 PM   #3
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
'df -h'

Doh...sorry for the dupe. :P

You beat me to submit.
 
Old 10-14-2003, 08:35 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
df -h would provide you with the size of the mounted partitions. If you do a hdparm -I <device> (device could be /dev/hda or something similar) you will get a lot of info, but important in this case is the Configuration section, where you can find the physical capacity of the drive.

Code:
Configuration:
        Logical         max     current
        cylinders       16383   4047
        heads           16      16
        sectors/track   63      255
        --
        CHS current addressable sectors:   16511760
        LBA    user addressable sectors:   90069840
        device size with M = 1024*1024:       43979 MBytes
        device size with M = 1000*1000:       46115 MBytes (46 GB)
Håkan
 
Old 10-14-2003, 08:37 PM   #5
g00$e
Member
 
Registered: Sep 2003
Location: Norfolk, VA
Distribution: Slackware
Posts: 119

Rep: Reputation: 15
Nice post hw-tph. Thanks!
 
  


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
Determine HD Capacity... BFEINZIMER Linux - Hardware 2 09-29-2005 10:46 PM
Hard Drive capacity twantrd Linux - General 2 10-12-2004 02:04 PM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM
CD/RW capacity limits slackerboy Linux - General 14 01-20-2003 01:41 AM
To see the memory capacity of machine saravanan1979 Linux - Hardware 7 05-30-2002 02:08 AM


All times are GMT -5. The time now is 02:42 AM.

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