Support for Multiple Data Streams?

Christopher R. Hertel crh at ubiqx.mn.org
Thu Mar 20 23:40:37 GMT 2003


On Fri, Mar 21, 2003 at 10:12:47AM +1100, Tim Potter wrote:
> On Thu, Mar 20, 2003 at 03:46:59PM -0500, Ken Cross wrote:
> 
> > Yes, to support it properly, the underlying filesystem should include
> > all streams when you cp/mv/rm/...  And a "portable" backup/restore could
> > be interesting!
> > 
> > However, I'm having trouble getting Samba to return goofy names like
> > "filename:ADS".  It keeps mangling them (even with mangling disabled).
> 
> What's wrong with extended attributes?  They satisfy the portability
> requirements (modulo some autoconf stuff that is probably required to
> create a uniform system call interface) and are backed up and restored
> by dump.

The problem is that EAs and Alternate Streams are two different (though 
similar) things.  They are handled differently by Windows, and are also 
handled differently within CIFS.

So, if'n you've got some dorky application that wants EAs then your CIFS 
server needs to support them, and if you have some dorky application 
that's trying to store things in a data stream, well...

The problem is that DOS, OS/2, and NT filesystem semantics (that's FAT,
HPFS, and NTLM for those listening at home) are carried via CIFS.  Icky
poo.

Chris -)-----

-- 
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the samba-technical mailing list