Ok, but I think my magic number suggestion would be able to handle that.
The file you edit would just have the # at the top of the file and when
you wrote it back it would again be a dir/file thing.
> > Have some semi-portable flag on the tarballish file that identifies it as
> > a dir/file thing. Then whenever a tarballish thing this is copied to an fs
> > that supports your extension, untar it to a file/dir thing transparently.
> > When you open the file/dir thing as a file, return a tarballish thing with
> > the semi-portable flag. The flag could be anything - perhaps a magic
> > number as the first few bytes.
> >
> I think it needs to be the reverse, it is a file/dir in my filesystem,
> and a tarballish thing elsewhere.
That's what I meant.
--- E-mail: terpstra@interchange.ubc.ca Host: iota.dhs.org Phone #: 1-604-221-8018, voice-mail: 1-604-221-8087
- 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/