[ltp] True size of a hard disk?

Tony Willoughby linux-thinkpad@linux-thinkpad.org
07 Feb 2003 09:34:09 -0500


/sbin/fdisk

/sbin usually isn't in your path, only root's.  

Login in as root (or run "su -") and try it.



On Fri, 2003-02-07 at 09:23, Angel de Vicente wrote:
> Hi,
> 
> my installation doesn't seem to have fdisk. I tried to look at the package 
> administration tool, but I couldn't find where fdisk is. How can I install this?
> 
> Thanks a lot,
> Angel de Vicente
> 
> Quoting Robert Hollis <vdrlholl@us.ibm.com>:
> 
> > Use fdisk as root. and print the partion table.
> > 
> > 
> > Robert Hollis
> > 630-568-1491 (T/L 994)
> > e-mail - vdrlholl@us.ibm.com
> > 
> > IBM
> > Two Lincoln Centre
> > Oakbrook Terrace, IL  60181
> > 
> > 
> > 
> > 
> > 
> > 
> > Angel de Vicente <angelv@dai.ed.ac.uk>
> > Sent by: linux-thinkpad-admin@linux-thinkpad.org
> > 02/06/2003 08:18 AM
> > Please respond to linux-thinkpad
> >  
> >         To:     linux-thinkpad@linux-thinkpad.org
> >         cc: 
> >         Subject:        [ltp] True size of a hard disk?
> > 
> > 
> > Hi,
> > 
> > this is perhaps not specifically a Thinkpad question, but I hope
> > somebody 
> > can 
> > help me.
> > 
> > The label on my HD says that it is a 5.1GB HD. My control centre 
> > information 
> > says that I have two block devices: 100.1MB and 4.0GB. When I installed
> > 
> > RedHat 
> > I chose the option of wiping out any other partitions, so as far as I
> > know 
> > I 
> > only have 4.1GB of HD.
> > 
> > Does anybody know how can I find the true size of my HD irrespective of
> > 
> > how 
> > many partitions / operating systems / etc. I have?
> > 
> > Thanks,
> > Angel de Vicente
> > 
> > ---------------------------------------------------------------
> > http://www.dai.ed.ac.uk/homes/angelv/
> > 
> > PhD Research Student
> > Edinburgh University
> > -- 
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> > 
> > 
> > -- 
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> > 
> 
> 
> 
> ---------------------------------------------------------------
> http://www.dai.ed.ac.uk/homes/angelv/
> 
> PhD Research Student
> Edinburgh University
-- 
Tony Willoughby     tonyw@pobox.com

"Enjoy every sandwich..."
  - Warren Zevon 30-October-2002