Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 22:41:38 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        freebsd-current@freebsd.org
Subject:   NTFS writing doesn't work on CURRENT(?)
Message-ID:  <20050706224138.46789a5c.lehmann@ans-netz.de>

next in thread | raw e-mail | index | archive | help
Hi,

I'm not able to write anything on a mounted ntfs partition:

root@kartoffel /root> hostname > /hugo
root@kartoffel /root> mount_ntfs /dev/da0s1 /mnt/tmp
root@kartoffel /root> cp /hugo /mnt/tmp
cp: /mnt/tmp/hugo: No such file or directory
Exit 1
root@kartoffel /root> uname -a
FreeBSD kartoffel.salatschuessel.net 6.0-CURRENT
 FreeBSD 6.0-CURRENT #0: Wed Jul  6 21:16:55 CEST 2005
 olivleh1@kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/KARTOFFEL
 amd64
root@kartoffel /root> fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=7476 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=7476 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 63, size 120085812 (58635 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
root@kartoffel /root> 

da0 at umass-sim0 bus 0 target 0 lun 0
da0: <IC35L060 AVVA07-0 0811> Fixed Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: 58644MB (120103200 512 byte sectors: 255H 63S/T 7476C)

The same happens with a 27th June CURRENT on i386. I also tried to
directly attach the disk to IDE on a 4.11/i386 testbox. Same sympthoms.
When I use it with MS WindowsXP it works w/o problems

When I newfs_msdos the disk, I can use it with mount_msdosfs it without
problems.

Does someone have ntfs partitions where writing works?

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/



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