From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 17:46:28 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 444E71065761 for ; Mon, 2 Feb 2009 17:46:28 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D04688FC19 for ; Mon, 2 Feb 2009 17:46:26 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 389A9AFC1FE; Mon, 2 Feb 2009 08:46:26 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 2 Feb 2009 08:46:14 -0900 User-Agent: KMail/1.9.10 References: <20090202165244.GB1012@dell1> In-Reply-To: <20090202165244.GB1012@dell1> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902020846.14901.fbsd.questions@rachie.is-a-geek.net> Cc: William Bulley Subject: Re: 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:46:29 -0000 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.