Fix a small typo in a comment and pretty it up a bit.
[Samba/gebeck_regimport.git] / docs / manpages / vfstest.1
bloba6d01fba572904548df1471f6965356824ae35f4
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
20 .TH "VFSTEST" 1 "" "" ""
21 .SH NAME
22 vfstest \- tool for testing samba VFS modules
23 .SH "SYNOPSIS"
25 .nf
26 \fBvfstest\fR [-d debuglevel] [-c command] [-l logfile] [-h]
27 .fi
29 .SH "DESCRIPTION"
31 .PP
32 This tool is part of the \fBSamba\fR(7) suite\&.
34 .PP
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\&.
37 .SH "OPTIONS"
39 .TP
40 -c|--command=command
41 Execute the specified (colon-separated) commands\&. See below for the commands that are available\&.
44 .TP
45 -h|--help
46 Print a summary of command line options\&.
49 .TP
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\&.
54 .TP
56 Prints the version number for \fBsmbd\fR\&.
59 .TP
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 \fI smb\&.conf(5)\fR for more information\&. The default configuration file name is determined at compile time\&.
64 .TP
65 -d|--debug=debuglevel
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 log level parameter in the \fIsmb\&.conf(5)\fR file\&.
78 .TP
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\&.
83 .SH "COMMANDS"
85 .PP
86 \fBVFS COMMANDS\fR
88 .TP 3
89 \(bu
90 \fBload <module.so>\fR - Load specified VFS module
92 .TP
93 \(bu
94 \fBpopulate <char> <size>\fR - Populate a data buffer with the specified data
96 .TP
97 \(bu
98 \fBshowdata [<offset> <len>]\fR - Show data currently in data buffer
101 \(bu
102 \fBconnect\fR - VFS connect()
105 \(bu
106 \fBdisconnect\fR - VFS disconnect()
109 \(bu
110 \fBdisk_free\fR - VFS disk_free()
113 \(bu
114 \fBopendir\fR - VFS opendir()
117 \(bu
118 \fBreaddir\fR - VFS readdir()
121 \(bu
122 \fBmkdir\fR - VFS mkdir()
125 \(bu
126 \fBrmdir\fR - VFS rmdir()
129 \(bu
130 \fBclosedir\fR - VFS closedir()
133 \(bu
134 \fBopen\fR - VFS open()
137 \(bu
138 \fBclose\fR - VFS close()
141 \(bu
142 \fBread\fR - VFS read()
145 \(bu
146 \fBwrite\fR - VFS write()
149 \(bu
150 \fBlseek\fR - VFS lseek()
153 \(bu
154 \fBrename\fR - VFS rename()
157 \(bu
158 \fBfsync\fR - VFS fsync()
161 \(bu
162 \fBstat\fR - VFS stat()
165 \(bu
166 \fBfstat\fR - VFS fstat()
169 \(bu
170 \fBlstat\fR - VFS lstat()
173 \(bu
174 \fBunlink\fR - VFS unlink()
177 \(bu
178 \fBchmod\fR - VFS chmod()
181 \(bu
182 \fBfchmod\fR - VFS fchmod()
185 \(bu
186 \fBchown\fR - VFS chown()
189 \(bu
190 \fBfchown\fR - VFS fchown()
193 \(bu
194 \fBchdir\fR - VFS chdir()
197 \(bu
198 \fBgetwd\fR - VFS getwd()
201 \(bu
202 \fButime\fR - VFS utime()
205 \(bu
206 \fBftruncate\fR - VFS ftruncate()
209 \(bu
210 \fBlock\fR - VFS lock()
213 \(bu
214 \fBsymlink\fR - VFS symlink()
217 \(bu
218 \fBreadlink\fR - VFS readlink()
221 \(bu
222 \fBlink\fR - VFS link()
225 \(bu
226 \fBmknod\fR - VFS mknod()
229 \(bu
230 \fBrealpath\fR - VFS realpath()
235 \fBGENERAL COMMANDS\fR
237 .TP 3
238 \(bu
239 \fBconf <smb.conf>\fR - Load a different configuration file
242 \(bu
243 \fBhelp [<command>]\fR - Get list of commands or info about specified command
246 \(bu
247 \fBdebuglevel <level>\fR - Set debug level
250 \(bu
251 \fBfreemem\fR - Free memory currently in use
254 \(bu
255 \fBexit\fR - Exit vfstest
259 .SH "VERSION"
262 This man page is correct for version 3\&.0 of the Samba suite\&.
264 .SH "AUTHOR"
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\&.