Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2009 17:29:28 +0200
From:      =?ISO-8859-1?Q?Samuel_Mart=EDn_Moro?= <faust64@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   mkntfs
Message-ID:  <ce5f79aa0906080829r6cf7e3d0n939265a1c8010aa4@mail.gmail.com>

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



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