Linux-kernel mailing list archive 2000-32,: Re: NTFS-like streams?

# Re: NTFS-like streams?

Urban Widmark (urban@svenskatest.se)
Fri, 11 Aug 2000 20:15:42 +0200 (CEST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: KMF AV: "Closed-door development"
- Previous message: Jens Axboe: "Re: IDE Tape problem in 2.2.16 (bug?)"

On Fri, 11 Aug 2000, Christopher Vickery wrote:

>
> I'm interested in implementing a system that associates
> meta-data with inodes, and would like to know if it has
> already been done or is in the works. NTFS allows you to
> create multiple "streams" within a file. "echo hello > x:y"
> creates a zero-byte file named x with a "stream" named y
> containing hello. If you copy, move, rename, or delete x
> then y goes with it. Canonical example is x.bmp contains an
> image and x.bmp:thumbnail contains a thumbnail of the

Erm. What is the point?
If you read x.bmp do you eventually start reading x.bmp:thumbnail?

% make_thumbnail.sh < x.bmp > x.bmp:thumbnail

Now you have two files
x.bmp
x.bmp:thumbnail
:)

To create something you can copy, rename or delete with one operation, put
it in a directory.

> image. So far as I can tell, the NTFS for Linux project is
> not under active development, and ext3, reiserfs, jfs, etc.
> do not deal with this issue. Am I missing anything?

Re ntfs; Anton Altaparmakov is doing "Odd Fixes" (see MAINTAINERS). If
such files can be created on ntfs then it would perhaps be nice to be able
to access them. I'm sure he will appreciate all help.

Re others; it's not unixy ...

If you look at such a file exported with SMB what does the client see?
Can you do "echo hello > //server/share/x:y" ?

/Urban

-
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/

- Next message: KMF AV: "Closed-door development"
- Previous message: Jens Axboe: "Re: IDE Tape problem in 2.2.16 (bug?)"