[Samba] Support for multiple file streams?

Adam Tauno Williams awilliam at whitemice.org
Tue Jul 3 11:44:11 GMT 2007

> > A variation on this would be to store the streams metadata in a Samba- 
> > private EA. This would give you something analogous to the streaminfo  
> > data link back to the hidden streams data files. You would be able to  
> > quickly determine the stream status for a file and you'd have a lot of  
> > flexibility in evolving the implementation. You'd also be able to  
> > reconstruct the EA metadata from the hidden streams data (slowly), and  
> > verify the hidden streams data from the EA (quickly). If you  
> > standardised the EA format, you would be able to add non-Samba tools  
> > to manipulate streams.
> Using the EA to store a file path to the /.streams dir would be very
> good, that would avoid the unix side delete/create problem as we have a
> way to validate it is the right stream.
> Sounds a nice mix :-)

It will also work for backup/restore (so long as you include EA) whereas
relying on the i-node# would cause problems after a file-system is
restored (since a file is unlikely to get the same i-node#).

More information about the samba-technical mailing list