Samba 3: added Samba 3.0.24 sources
[tomato.git] / release / src / router / samba3 / docs / manpages / vfstest.1
blob5221d8b090615d8e0c0484a326929c18fde91111
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"
24 .HP 8
25 \fBvfstest\fR [-d debuglevel] [-c command] [-l logdir] [-h]
26 .SH "DESCRIPTION"
27 .PP
28 This tool is part of the
29 \fBsamba\fR(7)
30 suite.
31 .PP
32 \fBvfstest\fR
33 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.
34 .SH "OPTIONS"
35 .TP 3n
36 -c|--command=command
37 Execute the specified (colon-separated) commands. See below for the commands that are available.
38 .TP 3n
39 -h|--help
40 Print a summary of command line options.
41 .TP 3n
42 -l|--logfile=logbasename
43 File name for log/debug files. The extension
44 \fB'.client'\fR
45 will be appended. The log file is never removed by the client.
46 .TP 3n
48 Prints the program version number.
49 .TP 3n
50 -s <configuration file>
51 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
52 \fIsmb.conf\fR
53 for more information. The default configuration file name is determined at compile time.
54 .TP 3n
55 -d|--debuglevel=level
56 \fIlevel\fR
57 is an integer from 0 to 10. The default value if this parameter is not specified is zero.
58 .sp
59 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.
60 .sp
61 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.
62 .sp
63 Note that specifying this parameter here will override the
65 parameter in the
66 \fIsmb.conf\fR
67 file.
68 .TP 3n
69 -l|--logfile=logdirectory
70 Base directory name for log/debug files. The extension
71 \fB".progname"\fR
72 will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
73 .SH "COMMANDS"
74 .PP
75 \fBVFS COMMANDS\fR
76 .TP 3n
77 &#8226;
78 \fBload <module.so>\fR
79 - Load specified VFS module
80 .TP 3n
81 &#8226;
82 \fBpopulate <char> <size>\fR
83 - Populate a data buffer with the specified data
84 .TP 3n
85 &#8226;
86 \fBshowdata [<offset> <len>]\fR
87 - Show data currently in data buffer
88 .TP 3n
89 &#8226;
90 \fBconnect\fR
91 - VFS connect()
92 .TP 3n
93 &#8226;
94 \fBdisconnect\fR
95 - VFS disconnect()
96 .TP 3n
97 &#8226;
98 \fBdisk_free\fR
99 - VFS disk_free()
100 .TP 3n
101 &#8226;
102 \fBopendir\fR
103 - VFS opendir()
104 .TP 3n
105 &#8226;
106 \fBreaddir\fR
107 - VFS readdir()
108 .TP 3n
109 &#8226;
110 \fBmkdir\fR
111 - VFS mkdir()
112 .TP 3n
113 &#8226;
114 \fBrmdir\fR
115 - VFS rmdir()
116 .TP 3n
117 &#8226;
118 \fBclosedir\fR
119 - VFS closedir()
120 .TP 3n
121 &#8226;
122 \fBopen\fR
123 - VFS open()
124 .TP 3n
125 &#8226;
126 \fBclose\fR
127 - VFS close()
128 .TP 3n
129 &#8226;
130 \fBread\fR
131 - VFS read()
132 .TP 3n
133 &#8226;
134 \fBwrite\fR
135 - VFS write()
136 .TP 3n
137 &#8226;
138 \fBlseek\fR
139 - VFS lseek()
140 .TP 3n
141 &#8226;
142 \fBrename\fR
143 - VFS rename()
144 .TP 3n
145 &#8226;
146 \fBfsync\fR
147 - VFS fsync()
148 .TP 3n
149 &#8226;
150 \fBstat\fR
151 - VFS stat()
152 .TP 3n
153 &#8226;
154 \fBfstat\fR
155 - VFS fstat()
156 .TP 3n
157 &#8226;
158 \fBlstat\fR
159 - VFS lstat()
160 .TP 3n
161 &#8226;
162 \fBunlink\fR
163 - VFS unlink()
164 .TP 3n
165 &#8226;
166 \fBchmod\fR
167 - VFS chmod()
168 .TP 3n
169 &#8226;
170 \fBfchmod\fR
171 - VFS fchmod()
172 .TP 3n
173 &#8226;
174 \fBchown\fR
175 - VFS chown()
176 .TP 3n
177 &#8226;
178 \fBfchown\fR
179 - VFS fchown()
180 .TP 3n
181 &#8226;
182 \fBchdir\fR
183 - VFS chdir()
184 .TP 3n
185 &#8226;
186 \fBgetwd\fR
187 - VFS getwd()
188 .TP 3n
189 &#8226;
190 \fButime\fR
191 - VFS utime()
192 .TP 3n
193 &#8226;
194 \fBftruncate\fR
195 - VFS ftruncate()
196 .TP 3n
197 &#8226;
198 \fBlock\fR
199 - VFS lock()
200 .TP 3n
201 &#8226;
202 \fBsymlink\fR
203 - VFS symlink()
204 .TP 3n
205 &#8226;
206 \fBreadlink\fR
207 - VFS readlink()
208 .TP 3n
209 &#8226;
210 \fBlink\fR
211 - VFS link()
212 .TP 3n
213 &#8226;
214 \fBmknod\fR
215 - VFS mknod()
216 .TP 3n
217 &#8226;
218 \fBrealpath\fR
219 - VFS realpath()
223 \fBGENERAL COMMANDS\fR
224 .TP 3n
225 &#8226;
226 \fBconf <smb.conf>\fR
227 - Load a different configuration file
228 .TP 3n
229 &#8226;
230 \fBhelp [<command>]\fR
231 - Get list of commands or info about specified command
232 .TP 3n
233 &#8226;
234 \fBdebuglevel <level>\fR
235 - Set debug level
236 .TP 3n
237 &#8226;
238 \fBfreemem\fR
239 - Free memory currently in use
240 .TP 3n
241 &#8226;
242 \fBexit\fR
243 - Exit vfstest
244 .SH "VERSION"
246 This man page is correct for version 3.0 of the Samba suite.
247 .SH "AUTHOR"
249 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.
251 The vfstest man page was written by Jelmer Vernooij.