short-changed on SD card?

Mike Jeays mike.jeays at rogers.com
Mon Feb 2 16:38:41 PST 2009


On February 2, 2009 06:13:16 pm Tim Judd wrote:
> On Mon, Feb 2, 2009 at 1:45 PM, Wojciech Puchar <
>
> wojtek at wojtek.tensor.gdynia.pl> wrote:
> >>  da1: 960MB (1967616 512 byte sectors: 64H 32S/T 960C)
> >
> > it's something wrong with FreeBSD here, it gets detected as 1GB.
> > it has nothing to do with filesystem on it.
>
> Nobody's blamed the SD/CF reader.
>
> I call dibs to blame the SD/CF reader.  Isolate the problem to find the
> culprit...
>
> Check the USB reader -- I'm curious to see if that fixes the problem.
>
> And FYI -- No matter the Heads/Sectors/Cylinders, there are ~2000000
> 512byte sectors, roughly equal to 1GB.
>
> If it's not the adapter, you got cheated in the purchase.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

I think I would try dd if=/dev/zero of=/dev/da1 bs=1M
without the count option, and see how many blocks it writes. You at least 
start with a clean slate, and can run fdisk and newfs, if you want a BSD-only 
device. Make sure you write on the right device!


-- 
Mike Jeays
http://www.jeays.ca
http://www.rotarycpmm.ca



More information about the freebsd-questions mailing list