On 2003-02-26  Eran Mann wrote:
> Shlomi Fish wrote:

> >I think the default compilation option of NTFS is read-only and that
> >read-write is experimental. To enable it, you need to recompile this
> >module. I think.

[...]

> It is marked as DANGEROUS, not EXPERIMENTAL. And IIRC in 2.4.x it's
> actually supposed to eat your partition. I believe in 2.5.x it's
> supposed to be more resonable, but it's still marked DANGEROUS. I
> havn't tried enabling it though...

FWIW, read-write is dangerous, but only if the write action *modifies*
the structure of the filesystem, not when it just modifies the content
of an existing file. It is quite easy to have write acces to unused
space on an ntfs partition, by loopback mounting ext2 on some large
existing ntfs file:

I created in windoze, on a large ntfs partition (that would otherwise
be unused and not writable from linux) a very large file (couple of
gigabytes). Admitted, I can't accesss it from windoze, but who cares
:).  This requires me to mount the ntfs 'rw', but I am careful to not
really write.. (I mount it as root, so usually I feel safe as a
regular user)

I did have to patch my kernel (2.4.20) with the 'new' ntfs driver.
(ntfs-2.x is the new version)

# mount | grep ntfs
/dev/hda1 on /ntfs type ntfs (rw)
/ntfs/do_not_delete on /loopntfs type ext2 (rw,noexec,nosuid,nodev,loop=/dev/loop0)

# grep ntfs /etc/fstab
/dev/hda1           /ntfs          ntfs        noauto,rw     0 0
/ntfs/do_not_delete /loopntfs      ext2        noauto,user,rw,loop  0 0

# dmesg |grep -i ntfs
NTFS driver 2.1.0a [Flags: R/W].
ftape v3.04d 25/11/97 for Linux 2.4.20preempt-ntfs
(plus a couple of unicode errors)



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to