From owner-freebsd-questions@FreeBSD.ORG Thu Mar 5 14:12:20 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 7D14C1065670 for ; Thu, 5 Mar 2009 14:12:20 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 143C08FC14 for ; Thu, 5 Mar 2009 14:12:19 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Mar 2009 15:12:18 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n25ECHUH011988; Thu, 5 Mar 2009 15:12:17 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 5 Mar 2009 15:12:17 +0100 From: Matthias Apitz To: Wojciech Puchar Message-ID: <20090305141217.GA11424@rebelion.Sisis.de> References: <20090305081407.GA2242@rebelion.Sisis.de> <200903050109.27668.chuckop@gmail.com> <20090305093208.GA4342@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 05 Mar 2009 14:12:18.0712 (UTC) FILETIME=[64B9B180:01C99D9C] 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 Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 14:12:21 -0000 El día Thursday, March 05, 2009 a las 10:48:52AM +0100, Wojciech Puchar escribió: > >>formatted properly? > > > >I did a 'ls -l /dev/da*' after key insert and there was only /dev/da0; > >maybe I should do > > > ># newfs_msdos /dev/da0 > > > >??? > > to be sure do > > dd if=/dev/zero of=/dev/da0 bs=64k count=1 > > before to clean anything from beginning, if any mess is there. 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 -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/