NTFS writing doesn't work on CURRENT(?)

From: Oliver Lehmann <lehmann_at_ans-netz.de>
Date: Wed, 6 Jul 2005 22:41:38 +0200
Hi,

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

root_at_kartoffel /root> hostname > /hugo
root_at_kartoffel /root> mount_ntfs /dev/da0s1 /mnt/tmp
root_at_kartoffel /root> cp /hugo /mnt/tmp
cp: /mnt/tmp/hugo: No such file or directory
Exit 1
root_at_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_at_kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/KARTOFFEL
 amd64
root_at_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_at_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/
Received on Wed Jul 06 2005 - 18:41:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC