mkntfs

Samuel Martín Moro faust64 at gmail.com
Mon Jun 8 15:29:49 UTC 2009


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/da0s1
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) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) = 26112 (0x6600)
preadv(0x3,0x28229800,0x1,0x76a40000,0x0,0x2808a600) = 26112 (0x6600)
.........


So... Is there a way to format a disk into NTFS ?!


Thanks all !



Samuel Martín Moro
CamTrace
{EPITECH.} tek3


More information about the freebsd-questions mailing list