mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
67ee428467
This change adds three new VFS hooks covering snapshot manipulation: - snap_check_path Check whether a path supports snapshots. - snap_create Request the creation of a snapshot of the provided path. - snap_delete Request the deletion of a snapshot. These VFS call-outs will be used in future by Samba's File Server Remote VSS Protocol (FSRVP) server. MS-FSVRP states: At any given time, Windows servers allow only one shadow copy set to be going through the creation process. Therefore, only provide synchronous hooks for now, which can be converted to asynchronous _send/_recv functions when the corresponding DCE/RPC server infrastructure is in place. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> |
||
---|---|---|
.. | ||
README | ||
shadow_copy_test.c | ||
skel_opaque.c | ||
skel_transparent.c | ||
wscript_build |
README for Samba Virtual File System (VFS) Example =================================================== This directory contains skeleton VFS modules. When used, this module simply passes all requests back to the disk functions (i.e it operates as a passthrough filter). It should be useful as a starting point for developing new VFS modules. Please look at skel_opaque.c when you want your module to provide final functions, like a database filesystem. Please look at skel_transparent.c when you want your module to provide passthrough functions, like audit modules. Please read the VFS chapter in the HOWTO collection for general help on the usage of VFS modules. Further documentation on writing VFS modules for Samba can be found in Samba Developers Guide.