Re: NTFS-like streams?

From: Christopher Vickery (vickery@ntcv.cs.qc.edu)
Date: Sat Aug 12 2000 - 20:59:10 EST


On Sat, 12 Aug 2000, Alexander Viro wrote:

> That's more or less it. Oh, and have fun with link(2) if some filesystems
> that have forks support it. If you've got a way to handle multiple links
> to object that has children - I'll be glad to hear it.

UWIN is Unix running on NT. On an NTFS partition, you can
use cmd.exe to create named streams. Then you can use uwin
to create hard links, which work in the "expected way":

DOS prompt window:

c:> echo there > xxx:yyy
c:> echo hello > xxx

UWIN (ksh) window:

/c> cat xxx
hello
/c> cat xxx:yyy
there
/c> ln xxx zzz
/c> cat xxx:yyy
there
/c> ls -lF
-rwxrwxrwx 2 8 Aug 12 21:50 xxx*
-rwxrwxrwx 2 8 Aug 12 21:50 zzz*
/c>

--
Chris Vickery

- 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:28 EST