1 .\" This manpage has been automatically generated by docbook2man
2 .\" from a DocBook document. This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4 .\" Please send any bug reports, improvements, comments, patches,
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .TH "VFSTEST" "1" "04 March 2003" "" ""
8 vfstest \- tool for testing samba VFS modules
11 \fBvfstest\fR [ \fB-d debuglevel\fR ] [ \fB-c command\fR ] [ \fB-l logfile\fR ] [ \fB-h\fR ]
15 This tool is part of the Samba suite.
17 \fBvfstest\fR is a small command line
18 utility that has the ability to test dso samba VFS modules. It gives the
19 user the ability to call the various VFS functions manually and
20 supports cascaded VFS modules.
23 \fB-c|--command=command\fR
24 Execute the specified (colon-separated) commands.
25 See below for the commands that are available.
27 \fB-d|--debug=debuglevel\fR
28 \fIdebuglevel\fR is an integer
29 from 0 to 10. The default value if this parameter is
30 not specified is zero.
32 The higher this value, the more detail will be
33 logged to the log files about the activities of the
34 server. At level 0, only critical errors and serious
35 warnings will be logged. Level 1 is a reasonable level for
36 day to day running - it generates a small amount of
37 information about operations carried out.
39 Levels above 1 will generate considerable
40 amounts of log data, and should only be used when
41 investigating a problem. Levels above 3 are designed for
42 use only by developers and generate HUGE amounts of log
43 data, most of which is extremely cryptic.
45 Note that specifying this parameter here will
50 Print a summary of command line options.
52 \fB-l|--logfile=logbasename\fR
53 File name for log/debug files. The extension
54 \&'.client' will be appended. The log file is never removed
61 \fBload <module.so>\fR - Load specified VFS module
64 \fBpopulate <char> <size>\fR - Populate a data buffer with the specified data
67 \fBshowdata [<offset> <len>]\fR - Show data currently in data buffer
70 \fBconnect\fR - VFS connect()
73 \fBdisconnect\fR - VFS disconnect()
76 \fBdisk_free\fR - VFS disk_free()
79 \fBopendir\fR - VFS opendir()
82 \fBreaddir\fR - VFS readdir()
85 \fBmkdir\fR - VFS mkdir()
88 \fBrmdir\fR - VFS rmdir()
91 \fBclosedir\fR - VFS closedir()
94 \fBopen\fR - VFS open()
97 \fBclose\fR - VFS close()
100 \fBread\fR - VFS read()
103 \fBwrite\fR - VFS write()
106 \fBlseek\fR - VFS lseek()
109 \fBrename\fR - VFS rename()
112 \fBfsync\fR - VFS fsync()
115 \fBstat\fR - VFS stat()
118 \fBfstat\fR - VFS fstat()
121 \fBlstat\fR - VFS lstat()
124 \fBunlink\fR - VFS unlink()
127 \fBchmod\fR - VFS chmod()
130 \fBfchmod\fR - VFS fchmod()
133 \fBchown\fR - VFS chown()
136 \fBfchown\fR - VFS fchown()
139 \fBchdir\fR - VFS chdir()
142 \fBgetwd\fR - VFS getwd()
145 \fButime\fR - VFS utime()
148 \fBftruncate\fR - VFS ftruncate()
151 \fBlock\fR - VFS lock()
154 \fBsymlink\fR - VFS symlink()
157 \fBreadlink\fR - VFS readlink()
160 \fBlink\fR - VFS link()
163 \fBmknod\fR - VFS mknod()
166 \fBrealpath\fR - VFS realpath()
168 \fBGENERAL COMMANDS\fR
171 \fBconf <smb.conf>\fR - Load a different configuration file
174 \fBhelp [<command>]\fR - Get list of commands or info about specified command
177 \fBdebuglevel <level>\fR - Set debug level
180 \fBfreemem\fR - Free memory currently in use
183 \fBexit\fR - Exit vfstest
186 This man page is correct for version 3.0 of the Samba
190 The original Samba software and related utilities
191 were created by Andrew Tridgell. Samba is now developed
192 by the Samba Team as an Open Source project similar
193 to the way the Linux kernel is developed.
195 The vfstest man page was written by Jelmer Vernooij.