If you want the total size of the drive, 'cat /proc/ide/hdx/capacity', where x 
is usually a or b, gives you the number of 512 byte blocks on the drive. I'm 
sure there's a similar file for SCSI drives, I just don't have any.

Eric

On Tuesday 06 April 2004 08:34, chuck wrote:
> df - report filesystem disk space usage
>
> Raymond Norton wrote:
> >what command do I use to see the size of my a hard drive and how much
> > space is left on it. With my searches I only find hdparm and how to add a
> > second drive.
> >
> >
> >Raymond
> >
> >


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list