Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Feb 2009 08:46:14 -0900
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        William Bulley <web@umich.edu>
Subject:   Re: short-changed on SD card?
Message-ID:  <200902020846.14901.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20090202165244.GB1012@dell1>
References:  <20090202165244.GB1012@dell1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 02 February 2009 07:52:44 William Bulley wrote:
> Recently purchased a brand new 2.0 GB secure digital (SD) card.
>
> When I plugged this into a USB dongle and plugged the USB dongle
> into an available USB socket on my FreeBSD 7.0-STABLE system the
> output from dmesg(8) reported this:
>
>    da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C)
>
> This is much closer to 1.0 GB than 2.0 GB so I at once wondered
> if I had been scammed in my purchase of this brand new SD card.
>
> Once I'd mounted /dev/da1s1 on /mnt, the df(1) command also reported
> 960 MB.  I then copied a 300+ megabyte file onto /mnt and then ran
> the df(1) command again.  This time it reported 1.9 GB total and
> 1.6 GB available.  WHAT IS GOING ON HERE?  Am I going crazy?

On a hunch, it's really 1G FAT, 1G HFS ("mac"). You could reformat it using 
fdisk/newfs.
-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902020846.14901.fbsd.questions>