1VFSTEST(1)                       User Commands                      VFSTEST(1)
2
3
4

NAME

6       vfstest - tool for testing samba VFS modules
7

SYNOPSIS

9       vfstest [-d debuglevel] [-c command] [-l logdir] [-h]
10

DESCRIPTION

12       This tool is part of the samba(7) suite.
13
14       vfstest is a small command line utility that has the ability to test
15       dso samba VFS modules. It gives the user the ability to call the
16       various VFS functions manually and supports cascaded VFS modules.
17

OPTIONS

19       -c|--command=command
20           Execute the specified (semicolon-separated) commands. See below for
21           the commands that are available.
22
23       -?|--help
24           Print a summary of command line options.
25
26       -l|--logfile=logbasename
27           File name for log/debug files. The extension ´.client´ will be
28           appended. The log file is never removed by the client.
29
30       -d|--debuglevel=level
31           level is an integer from 0 to 10. The default value if this
32           parameter is not specified is 0.
33
34           The higher this value, the more detail will be logged to the log
35           files about the activities of the server. At level 0, only critical
36           errors and serious warnings will be logged. Level 1 is a reasonable
37           level for day-to-day running - it generates a small amount of
38           information about operations carried out.
39
40           Levels above 1 will generate considerable amounts of log data, and
41           should only be used when investigating a problem. Levels above 3
42           are designed for use only by developers and generate HUGE amounts
43           of log data, most of which is extremely cryptic.
44
45           Note that specifying this parameter here will override the log
46           level parameter in the smb.conf file.
47
48       -V|--version
49           Prints the program version number.
50
51       -s|--configfile=<configuration file>
52           The file specified contains the configuration details required by
53           the server. The information in this file includes server-specific
54           information such as what printcap file to use, as well as
55           descriptions of all the services that the server is to provide. See
56           smb.conf for more information. The default configuration file name
57           is determined at compile time.
58
59       -l|--log-basename=logdirectory
60           Base directory name for log/debug files. The extension ".progname"
61           will be appended (e.g. log.smbclient, log.smbd, etc...). The log
62           file is never removed by the client.
63
64       --option=<name>=<value>
65           Set the smb.conf(5) option "<name>" to value "<value>" from the
66           command line. This overrides compiled-in defaults and options read
67           from the configuration file.
68

COMMANDS

70       VFS COMMANDS
71
72       ·   load <module.so> - Load specified VFS module
73
74       ·   populate <char> <size> - Populate a data buffer with the specified
75           data
76
77       ·   showdata [<offset> <len>] - Show data currently in data buffer
78
79       ·   connect - VFS connect()
80
81       ·   disconnect - VFS disconnect()
82
83       ·   disk_free - VFS disk_free()
84
85       ·   opendir - VFS opendir()
86
87       ·   readdir - VFS readdir()
88
89       ·   mkdir - VFS mkdir()
90
91       ·   rmdir - VFS rmdir()
92
93       ·   closedir - VFS closedir()
94
95       ·   open - VFS open()
96
97       ·   close - VFS close()
98
99       ·   read - VFS read()
100
101       ·   write - VFS write()
102
103       ·   lseek - VFS lseek()
104
105       ·   rename - VFS rename()
106
107       ·   fsync - VFS fsync()
108
109       ·   stat - VFS stat()
110
111       ·   fstat - VFS fstat()
112
113       ·   lstat - VFS lstat()
114
115       ·   unlink - VFS unlink()
116
117       ·   chmod - VFS chmod()
118
119       ·   fchmod - VFS fchmod()
120
121       ·   chown - VFS chown()
122
123       ·   fchown - VFS fchown()
124
125       ·   chdir - VFS chdir()
126
127       ·   getwd - VFS getwd()
128
129       ·   utime - VFS utime()
130
131       ·   ftruncate - VFS ftruncate()
132
133       ·   lock - VFS lock()
134
135       ·   symlink - VFS symlink()
136
137       ·   readlink - VFS readlink()
138
139       ·   link - VFS link()
140
141       ·   mknod - VFS mknod()
142
143       ·   realpath - VFS realpath()
144
145       ·   getxattr - VFS getxattr()
146
147       ·   listxattr - VFS listxattr()
148
149       ·   setxattr - VFS setxattr()
150
151       ·   removexattr - VFS removexattr()
152
153       ·   fget_nt_acl - VFS fget_nt_acl()
154
155       ·   get_nt_acl - VFS get_nt_acl()
156
157       ·   fset_nt_acl - VFS fset_nt_acl()
158
159       ·   set_nt_acl - VFS open() and fset_nt_acl()
160
161       ·   fchmod_acl - VFS fchmod_acl()
162
163       ·   chmod_acl - VFS chmod_acl()
164
165       ·   sys_acl_get_file - VFS sys_acl_get_file()
166
167       ·   sys_acl_get_fd - VFS sys_acl_get_fd()
168
169       ·   sys_acl_blob_get_file - VFS sys_acl_blob_get_file()
170
171       ·   sys_acl_blob_get_fd - VFS sys_acl_blob_get_fd()
172
173       ·   sys_acl_delete_def_file - VFS sys_acl_delete_def_file()
174
175       ·   test_chain - test chain code
176
177       ·   translate_name - VFS translate_name()
178
179
180       GENERAL COMMANDS
181
182       ·   conf <smb.conf> - Load a different configuration file
183
184       ·   help [<command>] - Get list of commands or info about specified
185           command
186
187       ·   debuglevel <level> - Set debug level
188
189       ·   freemem - Free memory currently in use
190
191       ·   exit - Exit vfstest
192

VERSION

194       This man page is correct for version 3 and 4 of the Samba suite.
195

AUTHOR

197       The original Samba software and related utilities were created by
198       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
199       Source project similar to the way the Linux kernel is developed.
200
201       The vfstest man page was written by Jelmer Vernooij. Updated version by
202       Guenter Kukkukk.
203
204
205
206Samba 4.2                         06/19/2018                        VFSTEST(1)
Impressum