From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 17:11:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5E4E1065678 for ; Mon, 2 Feb 2009 17:11:38 +0000 (UTC) (envelope-from web@umich.edu) Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by mx1.freebsd.org (Postfix) with ESMTP id 795948FC12 for ; Mon, 2 Feb 2009 17:11:38 +0000 (UTC) (envelope-from web@umich.edu) Received: FROM dell1 (Unknown [141.211.15.39]) BY hellskitchen.mr.itd.umich.edu ID 49872539.58EF4.27828 ; 2 Feb 2009 11:54:17 -0500 Date: Mon, 2 Feb 2009 11:52:44 -0500 From: William Bulley To: freebsd-questions@freebsd.org Message-ID: <20090202165244.GB1012@dell1> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: short-changed on SD card? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2009 17:11:39 -0000 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? Is this normal behaviour for a FAT16 formatted (raw/blank) SD card? Is there something I can do using the fdisk(8) or similar command to change the SD card so that it believes (and FreeBSD believes) that it is truly a 2.0 GB card? As I continued writing (large, multi-hundred megabyte) files to the mounted SD card, the system eventually seized up and I had to reboot. I expect this had something to do with my having crossed the 960 MB boundary on this SD card. Help! Any ideas gratefully accepted. Regards, web... -- William Bulley Email: web@umich.edu