Re: NTFS-like streams?

From: Michael Rothwell (rothwell@holly-springs.nc.us)
Date: Mon Aug 14 2000 - 10:25:48 EST


Horst von Brand wrote:

> Better build specialized tools, don't hope for interoperability. It is not
> just tar(1) which is affected, it is almost every single tool tha handles
> files; and then think about exporting this gunk over NFS to an uninfected
> Unix system, and trying to handle it there... or just unpacking your NTFS
> files on a Mac filesystem, or VFAT. Fun, fun, fun.

Why would someone even attempt to restore an NTFS volume
onto an HFS one? NFS does not currently export NTFS, Vfat,
etc. Version 4 _does_ include support for EAs.

Have stat() report that the file isn't simple; provide a libc call for
copyfile() or similar, and then you've defined a system-wide standard
way of dealing with them. Tar can check for ISMULTI or whatever, and
then read the streams out (the tar format actually supports EAs,
although specific actual tools may not). Cp can check ISMULTI and with
do the copy itself, or call copyfile() if it is available (latter
preferred).

> Easiest way out:

Simply provide a method for accessing them using the
VFS. Like Linus' "/" idea. Or a ":". Or let the FS
tell the VFs what character it prefers. Then NTFS
could really act like NTFS.

-M

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



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:33 EST