I think this info comes from mort@chinook:~/tmp$ cat /sys/block/sda/size 625142448 mh On Thu, Jan 19, 2012 at 3:34 PM, Raj <oclug [ at ] thukral [ dot ] net> wrote: > df -k will give you the size of a formatted filesystem, not the raw > capacity of a device. > > fdisk -l will give you capacity information. > > On Thu, Jan 19, 2012 at 3:30 PM, Andrew Galloway > <Andrew [ dot ] Galloway [ at ] rcmp-grc [ dot ] gc [ dot ] ca> wrote: > > df -k will give you the blocksize in 1k blocks > > > > > >>>> "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca> 2012-01-19 3:25 PM >>> > > On Thu, 19 Jan 2012, John C Nash wrote: > > > >> Can we have an answer to RD's question as to how to get the capacity > >> info easily? > > > > someone emailed me and pointed out that "fdisk" seems to give the > > precise usable size. > > > > rday > > > > -- > > > > ======================================================================== > > Robert P. J. Day Ottawa, Ontario, CANADA > > http://crashcourse.ca > > > > Twitter: http://twitter.com/rpjday > > LinkedIn: http://ca.linkedin.com/in/rpjday > > ======================================================================== > > _______________________________________________ > > Linux mailing list > > Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca > > http://oclug.on.ca/mailman/listinfo/linux > > _______________________________________________ > > Linux mailing list > > Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca > > http://oclug.on.ca/mailman/listinfo/linux > _______________________________________________ > Linux mailing list > Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca > http://oclug.on.ca/mailman/listinfo/linux > -- Martin Hicks P.Eng. | mort [ at ] bork [ dot ] org Bork Consulting Inc. | +1 (613) 266-2296