From owner-freebsd-questions@FreeBSD.ORG Mon Jun 8 15:29:49 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 B1EF4106566B for ; Mon, 8 Jun 2009 15:29:49 +0000 (UTC) (envelope-from faust64@gmail.com) Received: from mail-fx0-f214.google.com (mail-fx0-f214.google.com [209.85.220.214]) by mx1.freebsd.org (Postfix) with ESMTP id 37F1F8FC0C for ; Mon, 8 Jun 2009 15:29:49 +0000 (UTC) (envelope-from faust64@gmail.com) Received: by fxm10 with SMTP id 10so412729fxm.43 for ; Mon, 08 Jun 2009 08:29:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=UmuFMQsWhN63gawgu0ne+n6zKIun9ug8yTCKoX6x0eA=; b=GoM0Eia+uABVz8Ll2ow2RxfJlC/dF93FQhLmHSq1Ir7haHJ4tI+bqOCbn3I0fo7vUu 3sZHmSJKWHvVWeyjMbKFxL60LaUQjJ5S8SFNlI1D/nwYUNBBZ7y0ag0hedQQPjA3x9iZ HtPCqQjkhqrczgkupdIEkJWUbS30Smq5DdOKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=MnvuNhmxbtHVTM4a2XDv5SLZytde666EI4ijn6gpCjxtnYJDH9CPInSEdBk6vxFZoA +JX4QkTLiJLpoUloo63WpfeRj1GYwONQoNwgud8fOOKrmlaQpfLJF52I1pLvWp9BUUcW HbvU1eGEkRIrbNduQkqSeNq/yeCE2Id+OTh8o= MIME-Version: 1.0 Received: by 10.86.86.10 with SMTP id j10mr7376051fgb.37.1244474988292; Mon, 08 Jun 2009 08:29:48 -0700 (PDT) From: =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= Date: Mon, 8 Jun 2009 17:29:28 +0200 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mkntfs 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, 08 Jun 2009 15:29:49 -0000 Hi all. I'm trying to format an USB key with mkntfs (I tried with 1.13.1_5 and 2.0.0). Whatever I do, it never works. Some of results I got: (with 2.0.0) ~# mkntfs -F -p 63 -H 255 -S 63 /dev/da0s1 /dev/da0s1 is not a block device. mkntfs forced anyway. Cluster size has been automatically set to 4096 bytes. Initializing device with zeroes: 99%Failed to complete writing to /dev/da0s= 1 after three retries. This should not happen. ~#mkntfs -f -F -p 63 -H 255 -S 63 /dev/da0s1/dev/da0s1 is not a block device. mkntfs forced anyway. Cluster size has been automatically set to 4096 bytes. Creating NTFS volume structures. ^C ~# the only difference I noticed between 1.13.1_5 and 2.0.0 is that cluster size is automaticaly set to 2048 instead of 4096. when I tried fast format (-f), mkntfs print 'Creating NTFS volume', then I wait for 40 minutes, before killing the process (1 minute is already too long, for a 2G USB stick...). during a fast format (with both versions), a truss -p `ps ax | awk '/[m]kntfs /{print $1}'` gives me preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) =3D 26112 (0x6600) preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) =3D 26112 (0x6600) preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) =3D 26112 (0x6600) preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) =3D 26112 (0x6600) preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) =3D 26112 (0x6600) ......... So... Is there a way to format a disk into NTFS ?! Thanks all ! Samuel Mart=EDn Moro CamTrace {EPITECH.} tek3