From owner-freebsd-questions@FreeBSD.ORG Thu Mar 5 17:07: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 24D63106564A for ; Thu, 5 Mar 2009 17:07:28 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id C55CE8FC19 for ; Thu, 5 Mar 2009 17:07:27 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id n25H7GDI014108; Thu, 5 Mar 2009 11:07:16 -0600 (CST) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ptHZxmrjcP9c; Thu, 5 Mar 2009 11:06:48 -0600 (CST) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id n25H6dPX014104; Thu, 5 Mar 2009 11:06:40 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <49B0069F.4030106@daleco.biz> Date: Thu, 05 Mar 2009 11:06:39 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080719 SeaMonkey/1.1.11 MIME-Version: 1.0 To: Matthias Apitz References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> <20090305141217.GA11424@rebelion.Sisis.de> In-Reply-To: <20090305141217.GA11424@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: USB key with 7.5 GByte but no space left on device after 4 GByte written 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: Thu, 05 Mar 2009 17:07:28 -0000 Matthias Apitz wrote: > to end this threat, I did: > > # dd if=/dev/zero of=/dev/da0 bs=64k count=1 > # newfs_msdos /dev/da0 > # mount -t msdosfs /dev/da0 /mnt > # time cat file file file > /mnt/big > cat: stdout: File too large > 0.276u 19.421s 14:36.63 2.2% 11+1180k 33887+65536io 0pf+0w > > # df -kh /mnt > Filesystem Size Used Avail Capacity Mounted on > /dev/da0 7.5G 4.0G 3.5G 53% /mnt > > i.e. it writes the maximal file size of 4G in FAT32 and 3.5G are left as > free; > > the write speed is > 4294963200 in 14:36.63 minutes, i.e. 4902926 per sec; > > matthias Probably I'm just making more noise; you didn't give any hardware details. Some manufacturers (I have a SanDisk Cruzer) are now putting multiple partitions on a flash stick; the Cruzer has one which, on Windows,emulates a CD-ROM drive (dunno why a CD emulation would take up 3.5 GB, tho). Kevin Kinsey -- It is sweet to let the mind unbend on occasion. -- Quintus Horatius Flaccus (Horace)