Re: status of ntfs write-support in 2.4.20

Pawel Kot (pkot@linuxnews.pl)
Wed, 8 Jan 2003 18:44:20 +0100 (CET)


On Wed, 8 Jan 2003, Joshua M. Kwan wrote:

> On Wed, Jan 08, 2003 at 03:08:54PM +0100, folkert@vanheusden.com wrote:
> > Hi,
> >
> > What is the status of NTFS WRITE(!)-support in 2.4.20?
> > Is there any kernel which can do safely writing to windows nt(! not 2000
> > or xp) partitions?
>
> I believe it is still very unsafe. It *can* be done but you have to mess with
> scandisk everytime you reboot back to windows...it's very very dirty and quite
> hackish. I wouldn't think about risking data on an NTFS partition through the
> limited NTFS driver in Linux 2.4 (even 2.5.)

Well, the ntfs driver from the 2.4.20 vanilla kernel has really dangerous
write support for the ntfs partitions. It is strongly discouraged to use
it.

You can use though the backport driver from the 2.5 kernel series (aka
ntfs-tng). It allows you to overwrite the files using mmap() and write().
So, neither size changes, nor attribute changes. You'll find mode detailes
along with the driver itself at http://linux-ntfs.sf.net/.

> And windows NT/2000/XP partitions are all the same NTFS anyway.

Not really. See http://linux-ntfs.sourceforge.net/info/ntfs.html#1.4

pkot

-- 
mailto:pkot@linuxnews.pl :: mailto:pkot@slackware.pl
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/