Re: NTFS-like streams?

From: Mo McKinlay (mmckinlay@gnu.org)
Date: Mon Aug 14 2000 - 22:13:12 EST


# You know, I've browsed the archives right now and... aside of mentioning
# special magical API <wince> - nothing.

YES, an API. Call it magical if you want, but anything else is a
*HORRIBLE* kludge, and shouldn't be considered, let alone touched with a
bargepole.

It's VERY simple:

- stat() returns an extra flag if the object being queried has streams.
- stat() returns an extra flag if the object being queried has EAs.
- EAs are accessed using a specific API.
- Whether streams are access via a kludge to open() to modify the
namespace or an open_stream() call is not something I'm too bothered
about. If people can come up with a printable character that's not valid
anywhere else, then fair enough. '/' and ':' are already out of the
question for reasons previously discussed.

There is no sane way to handle every aspect of this without some sort of
API.

-- 
Mo McKinlay             Chief Software Architect          inter/open Labs
-------------------------------------------------------------------------
GnuPG Key: pub  1024D/76A275F9 2000-07-22 Mo McKinlay <mmckinlay@gnu.org>

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