I'm developing a FUSE-based file system which will be exported to the
Windows-world via Samba. My file system is emulating NTFS Alternate Data
Streams by creating the content of those files "on the fly" on access.
This works quite well with Samba 3.4.6 and the ":Zone.Identifier"
stream. But the Windows clients don't even try to access the
"SummaryInformation" stream (they do on Windows hosted shares). I guess
Samba is not "advertising" this feature or something like that. There
are other streams which are tried to access though.
Is it possible to enable this feature?
thanks
Marten
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
2010/5/16 Marten Gajda <marten...@fernuni-hagen.de>:
> Greetings,
I don't know if this is what are you looking for:
http://www.mail-archive.com/sa...@lists.samba.org/msg101989.html
Regards,
Norberto
regards
Marten
Marten
I thought that the streams do not work without the streams_xattr
module. Did you set that up on your samba server?
John
Do you have "vfs objects = streams_xattr" or "vfs objects = streams_depot"
set on the share ? You'll need this to map named streams to filesystem
objects on a POSIX system.
Jeremy.
Try
share:fake_fscaps = 262144
Volker
Marten
Not correctly, and I don't see how to be honest.
> If I store a file (with Firefox) on the share this stream is created and
> the explorer property sheet evaluates its content and tells me the file
> is from the internet (I can "unlock" the file too).
> It also works if I manually fakes the file's origin. But on the other
> hand, this stream is not created when I copy a file from another NTFS drive.
> As there is no use for xattrs in my file system I'd like to get this
> stuff working without them.
Can't be done. You need to have either the streams_xattr
module or streams_depot module enabled to get streams
support. Where do you think the stream data will get stored on
the filesysytem if you don't enable either of these ?
Jeremy.
John
btw.:
Strange enough, but the Zone-Identifier stream now fully works, even
without faking the fscaps or any vfs module. It turned out there was a
bug in my code, so that the stream content wasn't always interpreted
correctly. I can copy files from other volumes and Windows still knows
that its from the internet.
thank you,
Marten
regards
Marten
> They could be stored like regular files among the other files.
Then they're regular files, not alternate data streams. That
makes no sense.
regards
Marten