1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "VFSTEST" 1 "" "" ""
22 vfstest \- tool for testing samba VFS modules
26 \fBvfstest\fR [-d debuglevel] [-c command] [-l logfile] [-h]
32 This tool is part of the \fBSamba\fR(7) suite\&.
35 \fBvfstest\fR is a small command line utility that has the ability to test dso samba VFS modules\&. It gives the user the ability to call the various VFS functions manually and supports cascaded VFS modules\&.
41 Execute the specified (colon-separated) commands\&. See below for the commands that are available\&.
46 Print a summary of command line options\&.
50 -l|--logfile=logbasename
51 File name for log/debug files\&. The extension \fB'\&.client'\fR will be appended\&. The log file is never removed by the client\&.
56 Prints the program version number\&.
60 -s <configuration file>
61 The file specified contains the configuration details required by the server\&. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See \fIsmb\&.conf\fR for more information\&. The default configuration file name is determined at compile time\&.
66 \fIdebuglevel\fR is an integer from 0 to 10\&. The default value if this parameter is not specified is zero\&.
69 The higher this value, the more detail will be logged to the log files about the activities of the server\&. At level 0, only critical errors and serious warnings will be logged\&. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out\&.
72 Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\&. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\&.
75 Note that specifying this parameter here will override the \fIlog level\fR parameter in the \fIsmb\&.conf\fR file\&.
79 -l|--logfile=logbasename
80 File name for log/debug files\&. The extension \fB"\&.client"\fR will be appended\&. The log file is never removed by the client\&.
90 \fBload <module.so>\fR - Load specified VFS module
94 \fBpopulate <char> <size>\fR - Populate a data buffer with the specified data
98 \fBshowdata [<offset> <len>]\fR - Show data currently in data buffer
102 \fBconnect\fR - VFS connect()
106 \fBdisconnect\fR - VFS disconnect()
110 \fBdisk_free\fR - VFS disk_free()
114 \fBopendir\fR - VFS opendir()
118 \fBreaddir\fR - VFS readdir()
122 \fBmkdir\fR - VFS mkdir()
126 \fBrmdir\fR - VFS rmdir()
130 \fBclosedir\fR - VFS closedir()
134 \fBopen\fR - VFS open()
138 \fBclose\fR - VFS close()
142 \fBread\fR - VFS read()
146 \fBwrite\fR - VFS write()
150 \fBlseek\fR - VFS lseek()
154 \fBrename\fR - VFS rename()
158 \fBfsync\fR - VFS fsync()
162 \fBstat\fR - VFS stat()
166 \fBfstat\fR - VFS fstat()
170 \fBlstat\fR - VFS lstat()
174 \fBunlink\fR - VFS unlink()
178 \fBchmod\fR - VFS chmod()
182 \fBfchmod\fR - VFS fchmod()
186 \fBchown\fR - VFS chown()
190 \fBfchown\fR - VFS fchown()
194 \fBchdir\fR - VFS chdir()
198 \fBgetwd\fR - VFS getwd()
202 \fButime\fR - VFS utime()
206 \fBftruncate\fR - VFS ftruncate()
210 \fBlock\fR - VFS lock()
214 \fBsymlink\fR - VFS symlink()
218 \fBreadlink\fR - VFS readlink()
222 \fBlink\fR - VFS link()
226 \fBmknod\fR - VFS mknod()
230 \fBrealpath\fR - VFS realpath()
235 \fBGENERAL COMMANDS\fR
239 \fBconf <smb.conf>\fR - Load a different configuration file
243 \fBhelp [<command>]\fR - Get list of commands or info about specified command
247 \fBdebuglevel <level>\fR - Set debug level
251 \fBfreemem\fR - Free memory currently in use
255 \fBexit\fR - Exit vfstest
262 This man page is correct for version 3\&.0 of the Samba suite\&.
267 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\&.
270 The vfstest man page was written by Jelmer Vernooij\&.