home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] how to determine the *usable* size of an SD card?

  • Subject: Re: [OCLUG-Tech] how to determine the *usable* size of an SD card?
  • From: Raj <oclug [ at ] thukral [ dot ] net>
  • Date: Thu, 19 Jan 2012 15:34:24 -0500
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