Messages in this thread |  | | Date | Tue, 22 Aug 2000 21:03:31 +0100 | From | Anton Altaparmakov <> | Subject | Re: NTFS-like streams? |
| |
At 05:44 15/08/2000, Alexander Viro wrote: >On Tue, 15 Aug 2000, Mo McKinlay wrote: > > # I'm rapidly coming to the conclusion that any solution which does *not* > > # allow an opendir() on it is just terminally broken. > > > > No no no! > > > > Directories can have streams as well as files. > >So how the fuck does one access the streams on NTFS root? On NT, that is.
That's conceptually self-evident once you are aware of the NTFS concepts I have outlined in my post to lkml entitled: NTFS primer - was: Re: NTFS-like streams? (Al, I cc-ed that particular post to you).
From there it follows that you do the following:
C:\> echo strange_data_here > \:my_stream_name
You can then do
C:\> dir \
and you will see that your data / streamname have disappeared somewhere but you get the data back when you do:
C:\> cat \:my_stream_name
That's all. (-:
>And how, BTW, are hardlinks implemented if the description of MFT entry >given upthread was correct (it included "name" field)?
Unfortunately it was incorrect (if only by being incomplete and without explanations). - Hardlinks are implemented as I described in above mentioned post.
Anton --
"Education is what remains after one has forgotten everything he learned in school." - Albert Einstein
-- Anton Altaparmakov Voice: 01223-333541(lab) / 07712-632205(mobile) Christ's College eMail: AntonA@bigfoot.com Cambridge CB2 3BU ICQ: 8561279 United Kingdom WWW: http://www-stu.christs.cam.ac.uk/~aia21/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |