Writing to ntfs partitions?

2006-04-29 Thread Daan Vreeken [PA4DAN]
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 :
[EMAIL PROTECTED] /mnt/1]# uname -a
FreeBSD Chemobox.An.LAN 6.1-RC1 FreeBSD 6.1-RC1 #3: Sat Apr 29 11:33:34 CEST 
2006 [EMAIL PROTECTED]:/home/src/sys/i386/compile/Chemobox  i386

[EMAIL PROTECTED] /mnt]# mount -t ntfs /dev/ad4s5 /mnt/1
[EMAIL PROTECTED] /mnt]# cd /mnt/1

[EMAIL PROTECTED] /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  wheel163920 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  wheel131072 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

[EMAIL PROTECTED] /mnt/1]# mkdir test
mkdir: .: No such file or directory

[EMAIL PROTECTED] /mnt/1]# mkdir test.dir
mkdir: .: No such file or directory

[EMAIL PROTECTED] /mnt/1]# echo foo bar.txt
su: bar.txt: No such file or directory

[EMAIL PROTECTED] /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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Writing to ntfs partitions?

2006-04-29 Thread Kyryll A Mirnenko aka Mirya
try using sysutils/ntfsprogs (as standalone utils set or via 
sysutils/fusefs-(kmod|libs) if you have 6.0+). ntfs kernel module really 
doesn't write anything, ntfsprogs also has limitations (man for details) but 
they're better than nothing
-- 
Regards, Mirya
ICQ #313898202
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Writing to ntfs partitions?

2006-04-29 Thread M.Stegenburgs
Hi,

Good thing to have in your pocket:
http://trinityhome.org/trk/

Regards,
Maris Stegenburgs

On Sat, 29 Apr 2006 12:08:09 +0200
Daan Vreeken [PA4DAN] [EMAIL PROTECTED] wrote:

 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 :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Writing to ntfs partitions?

2006-04-29 Thread Kurt Buff
Daan Vreeken [PA4DAN] wrote:
 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?

Can't myself shed any light, and I see that others are answering your
question with ntfs info.

However, if all else fails, and depending on the size of the partitions
in question, you might be able to format one of them as fat32, copy the
files over, then boot into Windows and use the convert command to ntfs.

C:\Documents and Settings\User1convert /?
Converts FAT volumes to NTFS.

CONVERT volume /FS:NTFS [/V]

  volume  Specifies the drive letter (followed by a colon),
  mount point, or volume name.
  /FS:NTFSSpecifies that the volume to be converted to NTFS.
  /V  Specifies that Convert should be run in verbose mode.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]