From fac9e930c6bfff9c6f2526814f08cb1a0b3e9f02 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 14 Jan 2009 11:52:01 +0100 Subject: s3:docs: vfs_fileid manpage metze (cherry picked from commit 6a94b7b9270f3d69595b93e2632051c9842645c9) (cherry picked from commit 8e13be1db5c51002ae72c42c505a79406b2f4f63) --- docs-xml/manpages-3/vfs_fileid.8.xml | 112 +++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 docs-xml/manpages-3/vfs_fileid.8.xml diff --git a/docs-xml/manpages-3/vfs_fileid.8.xml b/docs-xml/manpages-3/vfs_fileid.8.xml new file mode 100644 index 00000000000..202d693a944 --- /dev/null +++ b/docs-xml/manpages-3/vfs_fileid.8.xml @@ -0,0 +1,112 @@ + + + + + + vfs_fileid + 8 + Samba + System Administration tools + 3.2 + + + + + vfs_fileid + Generates file_id structs with unique device id values for + cluster setups + + + + + vfs objects = fileid + + + + + DESCRIPTION + + This VFS module is part of the + samba + 7 + suite. + + Samba uses file_id structs to uniquely identify files + for locking purpose. By default the file_id contains the device + and inode number returned by the stat() system call. + As the file_id is a unique identifier of a file, it must be the same + on all nodes in a cluster setup. This module overloads the + SMB_VFS_FILE_ID_CREATE() operation and + generates the device number based on the configured algorithm + (see the "fileid:algorithm" option). + + + + + + OPTIONS + + + + + fileid:algorithm = ALGORITHM + + Available algorithms are fsname + and fsid. The default value is + fsname. + + The fsname algorithm generates + device id by hashing the kernel device name. + + The fsid algorithm generates + the device id from the f_fsid returned + from the statfs() syscall. + + + + + + fileid:mapping = ALGORITHM + + This option is the legacy version of the + fileid:algorithm option, which was used in earlier + versions of fileid mapping feature in custom Samba 3.0 versions. + + + + + + + + + EXAMPLES + + Usage of the fileid module with the + fsid algorithm: + + + + fileid + fsid + + + + + + VERSION + + This man page is correct for version 3.2 of the Samba suite. + + + + + AUTHOR + + The original Samba software and related utilities + were created by Andrew Tridgell. Samba is now developed + by the Samba Team as an Open Source project similar + to the way the Linux kernel is developed. + + + + -- cgit v1.2.1