From owner-freebsd-questions@FreeBSD.ORG Thu Mar 5 16:32:17 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 2A8431065670 for ; Thu, 5 Mar 2009 16:32:17 +0000 (UTC) (envelope-from npapke@acm.org) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id EC1CF8FC15 for ; Thu, 5 Mar 2009 16:32:16 +0000 (UTC) (envelope-from npapke@acm.org) Received: from pd5ml1no-ssvc.prod.shaw.ca ([10.0.153.166]) by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 05 Mar 2009 09:32:16 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=0 a=8pif782wAAAA:8 a=y7L6scWrvZDgGOvAvYkA:9 a=ybVFG_ht9sK4U_qCitm5FiMs9fcA:4 a=FC1De1sp-U4A:10 a=YaUzsf7C9dIA:10 Received: from s010600121729c74c.vc.shawcable.net (HELO proven.lan) ([24.85.241.34]) by pd5ml1no-dmz.prod.shaw.ca with ESMTP; 05 Mar 2009 09:32:16 -0700 Received: from proven.lan (localhost [127.0.0.1]) by proven.lan (8.14.3/8.14.3) with ESMTP id n25GWGCx073210 for ; Thu, 5 Mar 2009 08:32:16 -0800 (PST) (envelope-from npapke@acm.org) Received: from localhost (localhost [[UNIX: localhost]]) by proven.lan (8.14.3/8.14.3/Submit) id n25GWFJi073209 for freebsd-questions@freebsd.org; Thu, 5 Mar 2009 08:32:15 -0800 (PST) (envelope-from npapke@acm.org) X-Authentication-Warning: proven.lan: npapke set sender to npapke@acm.org using -f From: Norbert Papke Organization: Archaeological Filing To: freebsd-questions@freebsd.org Date: Thu, 5 Mar 2009 08:32:15 -0800 User-Agent: KMail/1.9.10 References: <20090305081407.GA2242@rebelion.Sisis.de> <20090305141217.GA11424@rebelion.Sisis.de> In-Reply-To: <20090305141217.GA11424@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200903050832.15869.npapke@acm.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 16:32:18 -0000 On March 5, 2009, Matthias Apitz wrote: > El d=EDa Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar= > to=20 end this threat, I did: > > # dd if=3D/dev/zero of=3D/dev/da0 bs=3D64k count=3D1 > # 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; Seems to work as it should. The maximum allowed file size on a FAT32 file= =20 system is 4GB (-1 byte). See http://en.wikipedia.org/wiki/File_Allocation_Table#FAT32 Cheers, =2D- Norbert Papke.