From owner-freebsd-current@FreeBSD.ORG Wed Jul 6 20:41:47 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A023A16A41C for ; Wed, 6 Jul 2005 20:41:47 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [83.136.81.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF88443D45 for ; Wed, 6 Jul 2005 20:41:46 +0000 (GMT) (envelope-from lehmann@ans-netz.de) Received: (qmail 69813 invoked by uid 89); 6 Jul 2005 20:41:32 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (83.136.81.185) by avocado.salatschuessel.net with SMTP; 6 Jul 2005 20:41:32 -0000 Date: Wed, 6 Jul 2005 22:41:38 +0200 From: Oliver Lehmann To: freebsd-current@freebsd.org Message-Id: <20050706224138.46789a5c.lehmann@ans-netz.de> X-Mailer: Sylpheed version 2.0.0beta4 (GTK+ 2.6.8; amd64-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: NTFS writing doesn't work on CURRENT(?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 20:41:47 -0000 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: The data for partition 3 is: The data for partition 4 is: root@kartoffel /root> da0 at umass-sim0 bus 0 target 0 lun 0 da0: 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/