[Samba] compressed file VFS

Jean-Pierre jean-pierre.andre at wanadoo.fr
Thu Mar 31 03:48:57 MDT 2011


Andreas Moroder wrote:
>> A similar question has been posted here (with an answer):
>>
>> http://askubuntu.com/questions/5212/can-i-transparently-compress-some-files-on-a-samba-share
>>
>>
>>
>> HTH
>>
> Hello,
>
> AFAIK the FUSE filesystems have in common the problem that they are read
> only. I have to write to this share too.

Except at least ntfs-3g which is read + write (see
the link posted yesterday). It is fully compatible
with Windows, which may be useful in a Samba environment.

> My idea was a samba VFS that, when it finds a compressed file with a
> certain extension ( say .gzvfs ) allows a normal read access to this
> file but allows to read and write to other files

For ntfs the compression is transparent. No specific
extension or change needed in applications or scripts.

Regards

Jean-Pierre






More information about the samba mailing list