Date: Sat, 29 Apr 2006 12:08:09 +0200 From: "Daan Vreeken [PA4DAN]" <Danovitsch@vitsch.net> To: FreeBSD-Questions@freebsd.org Subject: Writing to ntfs partitions? Message-ID: <200604291208.09801.Danovitsch@vitsch.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604291208.09801.Danovitsch>