From owner-freebsd-questions@FreeBSD.ORG Sat Apr 29 10:08:39 2006 Return-Path: X-Original-To: FreeBSD-Questions@freebsd.org Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDFE616A400 for ; Sat, 29 Apr 2006 10:08:39 +0000 (UTC) (envelope-from Danovitsch@vitsch.net) Received: from amsfep12-int.chello.nl (amsfep17-int.chello.nl [213.46.243.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E58943D45 for ; Sat, 29 Apr 2006 10:08:38 +0000 (GMT) (envelope-from Danovitsch@vitsch.net) Received: from Vitsch.net ([80.56.187.161]) by amsfep12-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060429100836.QOCR20853.amsfep12-int.chello.nl@Vitsch.net> for ; Sat, 29 Apr 2006 12:08:36 +0200 Received: from [192.168.87.6] (j56043.upc-j.chello.nl [24.132.56.43]) by Vitsch.net (8.11.3/8.11.3) with ESMTP id k3TA5Zm88341 for ; Sat, 29 Apr 2006 12:05:35 +0200 (CEST) (envelope-from Danovitsch@vitsch.net) From: "Daan Vreeken [PA4DAN]" Organization: Vitsch Electronics To: FreeBSD-Questions@freebsd.org Date: Sat, 29 Apr 2006 12:08:09 +0200 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604291208.09801.Danovitsch@vitsch.net> Cc: Subject: Writing to ntfs partitions? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 10:08:39 -0000 Hi All, I am trying to help a friend recover her Wind0ws harddisk. I have a backup of all files on a UFS2 partition and I have a new and freshly partitioned/formatted harddisk with a number of NTFS partitions. "man mount_ntfs" mentions write support for ntfs partitions with some limitations, but I can't seem to write anything to any of the ntfs partitions :( I must be doing something wrong. Can anyone shed some light on this? Here is a transcript of what I've tried : [root@Chemobox /mnt/1]# uname -a FreeBSD Chemobox.An.LAN 6.1-RC1 FreeBSD 6.1-RC1 #3: Sat Apr 29 11:33:34 CEST 2006 root@Chemobox.An.LAN:/home/src/sys/i386/compile/Chemobox i386 [root@Chemobox /mnt]# mount -t ntfs /dev/ad4s5 /mnt/1 [root@Chemobox /mnt]# cd /mnt/1 [root@Chemobox /mnt/1]# ls -l total 28596 -rwxr-xr-x 1 root wheel 2560 Apr 22 2009 $AttrDef -rwxr-xr-x 0 root wheel 0 Apr 6 22:18 $BadClus -rwxr-xr-x 1 root wheel 163920 Apr 22 2009 $Bitmap -rwxr-xr-x 0 root wheel 8192 Apr 6 22:18 $Boot drwxr-xr-x 0 root wheel 0 Apr 6 22:18 $Extend -rwxr-xr-x 0 root wheel 28966912 Apr 6 22:18 $LogFile -rwxr-xr-x 0 root wheel 4096 Apr 6 22:18 $MFTMirr -rwxr-xr-x 0 root wheel 0 Apr 22 2009 $Secure -rwxr-xr-x 1 root wheel 131072 Apr 22 2009 $UpCase -rwxr-xr-x 0 root wheel 0 Apr 6 22:18 $Volume drwxr-xr-x 0 root wheel 0 Apr 6 22:35 System Volume Information [root@Chemobox /mnt/1]# mkdir test mkdir: .: No such file or directory [root@Chemobox /mnt/1]# mkdir test.dir mkdir: .: No such file or directory [root@Chemobox /mnt/1]# echo "foo" >bar.txt su: bar.txt: No such file or directory [root@Chemobox /mnt/1]# mount /dev/ad4s2a on / (ufs, local, soft-updates) devfs on /dev (devfs, local) /dev/ad4s3d on /home (ufs, local, soft-updates) /dev/ad4s5 on /mnt/1 (ntfs, local) Thanks, Daan