[Samba] Support for multiple file streams?

Jeremy Allison jra at samba.org
Mon Jul 2 16:53:21 GMT 2007


On Mon, Jul 02, 2007 at 04:50:54PM +0000, simo wrote:

> I was thinking if it couldn't be better to use just one directory in the
> root of the filesystem and within it create a directory for each file
> where we want to write an alternate stream. The idea would be to use the
> files inode as the dir name 0x123456 and inside it the stream name as
> file name for the stream. This way renaming or moving the file wouldn't
> loose the streams. Does it make sense?

That's a pretty good idea - we'd have to do some recursing up the
tree to find the filesystem root of each share - maybe we could
do this at share connection time....

Jeremy.


More information about the samba-technical mailing list