Re: NTFS-like streams?

From: James Sutherland (jas88@cam.ac.uk)
Date: Sun Aug 13 2000 - 18:48:04 EST


On Sun, 13 Aug 2000, Alexander Viro wrote:
> On Mon, 14 Aug 2000, James Sutherland wrote:
>
> > > * these damned short names have a nasty habit of travelling when
> > > you do operations on different names. And that's the thing you will
> > > reproduce with that approach on NTFS.
> >
> > Nah. Let's just drop short filenames.
>
> Sorry? I do rename("foo","bar"); Suddenly foo:splat becomes bar:splat.
> Which of them should I drop?

What has that got to do with short filenames?

There is a decision to be made: does renaming "foo" to "bar" rename
"foo:splat" to "bar:splat". It would do under NT; OTOH, this isn't NT, and
we cannot enforce this across all filesystems which may contain a
"foo:splat". I'd go with "foo" != "foo:splat". Keep the two distinct.

If the user really wants foo:* ==> bar:*, [s]he can type it.

James.

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