Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Mar 2009 11:06:39 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: USB key with 7.5 GByte but no space left on device after 4	GByte written
Message-ID:  <49B0069F.4030106@daleco.biz>
In-Reply-To: <20090305141217.GA11424@rebelion.Sisis.de>
References:  <20090305081407.GA2242@rebelion.Sisis.de>	<alpine.BSF.2.00.0903050935130.74279@wojtek.tensor.gdynia.pl>	<200903050109.27668.chuckop@gmail.com>	<20090305093208.GA4342@rebelion.Sisis.de>	<alpine.BSF.2.00.0903051048220.74507@wojtek.tensor.gdynia.pl> <20090305141217.GA11424@rebelion.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49B0069F.4030106>