Developing a VFS plugin for inhouse backup solution

Andrew Bartlett abartlet at samba.org
Sun Feb 13 06:12:03 GMT 2005


On Sat, 2005-02-12 at 22:06 -0800, Jeremy Allison wrote:
> On Sat, Feb 12, 2005 at 05:12:46PM -0800, Brian Gunlogson wrote:
> > Inside my VFS SMB_VFS_OP_OPEN I want to store per-file data. The data needs to be accessible when
> > SMB_VFS_OP_CLOSE is called. Where (in what structure) should per-file data be stored?
> 
> This is a bug in Samba really. We should have a "private" data pointer
> available in the files_struct and the connection_struct for VFS use. I'll
> fix this for 3.0.12.

Just as you crack that can of worms open, just watch out that there is a
full scheme of stackable VFS modules there...

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050213/d521ee45/attachment.bin


More information about the samba-technical mailing list