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 <[email protected]> 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 > <[email protected]> wrote: > > df -k will give you the blocksize in 1k blocks > > > > > >>>> "Robert P. J. Day" <[email protected]> 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 > > [email protected] > > http://oclug.on.ca/mailman/listinfo/linux > > _______________________________________________ > > Linux mailing list > > [email protected] > > http://oclug.on.ca/mailman/listinfo/linux > _______________________________________________ > Linux mailing list > [email protected] > http://oclug.on.ca/mailman/listinfo/linux > -- Martin Hicks P.Eng. | [email protected] Bork Consulting Inc. | +1 (613) 266-2296 _______________________________________________ Linux mailing list [email protected] http://oclug.on.ca/mailman/listinfo/linux
