Changeset 286 for branches/samba-3.0/docs/manpages/vfstest.1
- Timestamp:
- Jun 24, 2009, 5:09:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/manpages/vfstest.1
r158 r286 1 1 .\" Title: vfstest 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.7 3.2<http://docbook.sf.net/>4 .\" Date: 0 8/25/20082 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4 .\" Date: 06/22/2009 5 5 .\" Manual: User Commands 6 6 .\" Source: Samba 3.0 7 .\" Language: English 7 8 .\" 8 .TH "VFSTEST" "1" "08/25/2008" "Samba 3\.0" "User Commands" 9 .TH "VFSTEST" "1" "06/22/2009" "Samba 3\&.0" "User Commands" 10 .\" ----------------------------------------------------------------- 11 .\" * (re)Define some macros 12 .\" ----------------------------------------------------------------- 13 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 .\" toupper - uppercase a string (locale-aware) 15 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 .de toupper 17 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ 18 \\$* 19 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz 20 .. 21 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 .\" SH-xref - format a cross-reference to an SH section 23 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 .de SH-xref 25 .ie n \{\ 26 .\} 27 .toupper \\$* 28 .el \{\ 29 \\$* 30 .\} 31 .. 32 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 .\" SH - level-one heading that works better for non-TTY output 34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 .de1 SH 36 .\" put an extra blank line of space above the head in non-TTY output 37 .if t \{\ 38 .sp 1 39 .\} 40 .sp \\n[PD]u 41 .nr an-level 1 42 .set-an-margin 43 .nr an-prevailing-indent \\n[IN] 44 .fi 45 .in \\n[an-margin]u 46 .ti 0 47 .HTML-TAG ".NH \\n[an-level]" 48 .it 1 an-trap 49 .nr an-no-space-flag 1 50 .nr an-break-flag 1 51 \." make the size of the head bigger 52 .ps +3 53 .ft B 54 .ne (2v + 1u) 55 .ie n \{\ 56 .\" if n (TTY output), use uppercase 57 .toupper \\$* 58 .\} 59 .el \{\ 60 .nr an-break-flag 0 61 .\" if not n (not TTY), use normal case (not uppercase) 62 \\$1 63 .in \\n[an-margin]u 64 .ti 0 65 .\" if not n (not TTY), put a border/line under subheading 66 .sp -.6 67 \l'\n(.lu' 68 .\} 69 .. 70 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 .\" SS - level-two heading that works better for non-TTY output 72 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 .de1 SS 74 .sp \\n[PD]u 75 .nr an-level 1 76 .set-an-margin 77 .nr an-prevailing-indent \\n[IN] 78 .fi 79 .in \\n[IN]u 80 .ti \\n[SN]u 81 .it 1 an-trap 82 .nr an-no-space-flag 1 83 .nr an-break-flag 1 84 .ps \\n[PS-SS]u 85 \." make the size of the head bigger 86 .ps +2 87 .ft B 88 .ne (2v + 1u) 89 .if \\n[.$] \&\\$* 90 .. 91 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 .\" BB/BE - put background/screen (filled box) around block of text 93 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 .de BB 95 .if t \{\ 96 .sp -.5 97 .br 98 .in +2n 99 .ll -2n 100 .gcolor red 101 .di BX 102 .\} 103 .. 104 .de EB 105 .if t \{\ 106 .if "\\$2"adjust-for-leading-newline" \{\ 107 .sp -1 108 .\} 109 .br 110 .di 111 .in 112 .ll 113 .gcolor 114 .nr BW \\n(.lu-\\n(.i 115 .nr BH \\n(dn+.5v 116 .ne \\n(BHu+.5v 117 .ie "\\$2"adjust-for-leading-newline" \{\ 118 \M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 119 .\} 120 .el \{\ 121 \M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 122 .\} 123 .in 0 124 .sp -.5v 125 .nf 126 .BX 127 .in 128 .sp .5v 129 .fi 130 .\} 131 .. 132 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 .\" BM/EM - put colored marker in margin next to block of text 134 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 .de BM 136 .if t \{\ 137 .br 138 .ll -2n 139 .gcolor red 140 .di BX 141 .\} 142 .. 143 .de EM 144 .if t \{\ 145 .br 146 .di 147 .ll 148 .gcolor 149 .nr BH \\n(dn 150 .ne \\n(BHu 151 \M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[] 152 .in 0 153 .nf 154 .BX 155 .in 156 .fi 157 .\} 158 .. 159 .\" ----------------------------------------------------------------- 160 .\" * set default formatting 161 .\" ----------------------------------------------------------------- 9 162 .\" disable hyphenation 10 163 .nh 11 164 .\" disable justification (adjust text to left margin only) 12 165 .ad l 13 .SH "NAME" 14 vfstest - tool for testing samba VFS modules 15 .SH "SYNOPSIS" 16 .HP 1 17 vfstest [\-d\ debuglevel] [\-c\ command] [\-l\ logdir] [\-h] 166 .\" ----------------------------------------------------------------- 167 .\" * MAIN CONTENT STARTS HERE * 168 .\" ----------------------------------------------------------------- 169 .SH "Name" 170 vfstest \- tool for testing samba VFS modules 171 .SH "Synopsis" 172 .fam C 173 .HP \w'\ 'u 174 \FCvfstest\F[] [\-d\ debuglevel] [\-c\ command] [\-l\ logdir] [\-h] 175 .fam 18 176 .SH "DESCRIPTION" 19 177 .PP 20 178 This tool is part of the 21 179 \fBsamba\fR(7) 22 suite\ .23 .PP 24 vfstest 25 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\.180 suite\&. 181 .PP 182 \FCvfstest\F[] 183 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\&. 26 184 .SH "OPTIONS" 27 185 .PP 28 186 \-c|\-\-command=command 29 187 .RS 4 30 Execute the specified (colon\-separated) commands\ . See below for the commands that are available\.188 Execute the specified (colon\-separated) commands\&. See below for the commands that are available\&. 31 189 .RE 32 190 .PP 33 191 \-h|\-\-help 34 192 .RS 4 35 Print a summary of command line options\ .193 Print a summary of command line options\&. 36 194 .RE 37 195 .PP 38 196 \-l|\-\-logfile=logbasename 39 197 .RS 4 40 File name for log/debug files\ . The extension41 \fB\'\ .client\'\fR42 will be appended\ . The log file is never removed by the client\.198 File name for log/debug files\&. The extension 199 \fB\'\&.client\'\fR 200 will be appended\&. The log file is never removed by the client\&. 43 201 .RE 44 202 .PP … … 46 204 .RS 4 47 205 \fIlevel\fR 48 is an integer from 0 to 10\ . The default value if this parameter is not specified is 0\.49 .sp 50 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\.51 .sp 52 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\.206 is an integer from 0 to 10\&. The default value if this parameter is not specified is 0\&. 207 .sp 208 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\&. 209 .sp 210 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\&. 53 211 .sp 54 212 Note that specifying this parameter here will override the 55 \ fIlog level\fR213 \m[blue]\fBlog level\fR\m[] 56 214 parameter in the 57 \ fIsmb\.conf\fR58 file\ .215 \FCsmb\&.conf\F[] 216 file\&. 59 217 .RE 60 218 .PP 61 219 \-V 62 220 .RS 4 63 Prints the program version number\ .221 Prints the program version number\&. 64 222 .RE 65 223 .PP 66 224 \-s <configuration file> 67 225 .RS 4 68 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\. See69 \ fIsmb\.conf\fR70 for more information\ . The default configuration file name is determined at compile time\.226 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 227 \FCsmb\&.conf\F[] 228 for more information\&. The default configuration file name is determined at compile time\&. 71 229 .RE 72 230 .PP 73 231 \-l|\-\-log\-basename=logdirectory 74 232 .RS 4 75 Base directory name for log/debug files\ . The extension76 \fB"\ .progname"\fR77 will be appended (e\ .g\. log\.smbclient, log\.smbd, etc\.\.\.)\. The log file is never removed by the client\.233 Base directory name for log/debug files\&. The extension 234 \fB"\&.progname"\fR 235 will be appended (e\&.g\&. log\&.smbclient, log\&.smbd, etc\&.\&.\&.)\&. The log file is never removed by the client\&. 78 236 .RE 79 237 .SH "COMMANDS" … … 89 247 .IP \(bu 2.3 90 248 .\} 91 load <module\.so> 249 \FCload <module\&.so>\F[] 92 250 \- Load specified VFS module 93 251 .RE … … 101 259 .IP \(bu 2.3 102 260 .\} 103 populate <char> <size> 261 \FCpopulate <char> <size>\F[] 104 262 \- Populate a data buffer with the specified data 105 263 .RE … … 113 271 .IP \(bu 2.3 114 272 .\} 115 showdata [<offset> <len>]273 \FCshowdata [<offset> <len>]\F[] 116 274 \- Show data currently in data buffer 117 275 .RE … … 125 283 .IP \(bu 2.3 126 284 .\} 127 connect 285 \FCconnect\F[] 128 286 \- VFS connect() 129 287 .RE … … 137 295 .IP \(bu 2.3 138 296 .\} 139 disconnect 297 \FCdisconnect\F[] 140 298 \- VFS disconnect() 141 299 .RE … … 149 307 .IP \(bu 2.3 150 308 .\} 151 disk_free 309 \FCdisk_free\F[] 152 310 \- VFS disk_free() 153 311 .RE … … 161 319 .IP \(bu 2.3 162 320 .\} 163 opendir 321 \FCopendir\F[] 164 322 \- VFS opendir() 165 323 .RE … … 173 331 .IP \(bu 2.3 174 332 .\} 175 readdir 333 \FCreaddir\F[] 176 334 \- VFS readdir() 177 335 .RE … … 185 343 .IP \(bu 2.3 186 344 .\} 187 mkdir 345 \FCmkdir\F[] 188 346 \- VFS mkdir() 189 347 .RE … … 197 355 .IP \(bu 2.3 198 356 .\} 199 rmdir 357 \FCrmdir\F[] 200 358 \- VFS rmdir() 201 359 .RE … … 209 367 .IP \(bu 2.3 210 368 .\} 211 closedir 369 \FCclosedir\F[] 212 370 \- VFS closedir() 213 371 .RE … … 221 379 .IP \(bu 2.3 222 380 .\} 223 open 381 \FCopen\F[] 224 382 \- VFS open() 225 383 .RE … … 233 391 .IP \(bu 2.3 234 392 .\} 235 close 393 \FCclose\F[] 236 394 \- VFS close() 237 395 .RE … … 245 403 .IP \(bu 2.3 246 404 .\} 247 read 405 \FCread\F[] 248 406 \- VFS read() 249 407 .RE … … 257 415 .IP \(bu 2.3 258 416 .\} 259 write 417 \FCwrite\F[] 260 418 \- VFS write() 261 419 .RE … … 269 427 .IP \(bu 2.3 270 428 .\} 271 lseek 429 \FClseek\F[] 272 430 \- VFS lseek() 273 431 .RE … … 281 439 .IP \(bu 2.3 282 440 .\} 283 rename 441 \FCrename\F[] 284 442 \- VFS rename() 285 443 .RE … … 293 451 .IP \(bu 2.3 294 452 .\} 295 fsync 453 \FCfsync\F[] 296 454 \- VFS fsync() 297 455 .RE … … 305 463 .IP \(bu 2.3 306 464 .\} 307 stat 465 \FCstat\F[] 308 466 \- VFS stat() 309 467 .RE … … 317 475 .IP \(bu 2.3 318 476 .\} 319 fstat 477 \FCfstat\F[] 320 478 \- VFS fstat() 321 479 .RE … … 329 487 .IP \(bu 2.3 330 488 .\} 331 lstat 489 \FClstat\F[] 332 490 \- VFS lstat() 333 491 .RE … … 341 499 .IP \(bu 2.3 342 500 .\} 343 unlink 501 \FCunlink\F[] 344 502 \- VFS unlink() 345 503 .RE … … 353 511 .IP \(bu 2.3 354 512 .\} 355 chmod 513 \FCchmod\F[] 356 514 \- VFS chmod() 357 515 .RE … … 365 523 .IP \(bu 2.3 366 524 .\} 367 fchmod 525 \FCfchmod\F[] 368 526 \- VFS fchmod() 369 527 .RE … … 377 535 .IP \(bu 2.3 378 536 .\} 379 chown 537 \FCchown\F[] 380 538 \- VFS chown() 381 539 .RE … … 389 547 .IP \(bu 2.3 390 548 .\} 391 fchown 549 \FCfchown\F[] 392 550 \- VFS fchown() 393 551 .RE … … 401 559 .IP \(bu 2.3 402 560 .\} 403 chdir 561 \FCchdir\F[] 404 562 \- VFS chdir() 405 563 .RE … … 413 571 .IP \(bu 2.3 414 572 .\} 415 getwd 573 \FCgetwd\F[] 416 574 \- VFS getwd() 417 575 .RE … … 425 583 .IP \(bu 2.3 426 584 .\} 427 utime 585 \FCutime\F[] 428 586 \- VFS utime() 429 587 .RE … … 437 595 .IP \(bu 2.3 438 596 .\} 439 ftruncate 597 \FCftruncate\F[] 440 598 \- VFS ftruncate() 441 599 .RE … … 449 607 .IP \(bu 2.3 450 608 .\} 451 lock 609 \FClock\F[] 452 610 \- VFS lock() 453 611 .RE … … 461 619 .IP \(bu 2.3 462 620 .\} 463 symlink 621 \FCsymlink\F[] 464 622 \- VFS symlink() 465 623 .RE … … 473 631 .IP \(bu 2.3 474 632 .\} 475 readlink 633 \FCreadlink\F[] 476 634 \- VFS readlink() 477 635 .RE … … 485 643 .IP \(bu 2.3 486 644 .\} 487 link 645 \FClink\F[] 488 646 \- VFS link() 489 647 .RE … … 497 655 .IP \(bu 2.3 498 656 .\} 499 mknod 657 \FCmknod\F[] 500 658 \- VFS mknod() 501 659 .RE … … 509 667 .IP \(bu 2.3 510 668 .\} 511 realpath 669 \FCrealpath\F[] 512 670 \- VFS realpath() 513 671 .sp … … 524 682 .IP \(bu 2.3 525 683 .\} 526 conf <smb\.conf> 684 \FCconf <smb\&.conf>\F[] 527 685 \- Load a different configuration file 528 686 .RE … … 536 694 .IP \(bu 2.3 537 695 .\} 538 help [<command>]696 \FChelp [<command>]\F[] 539 697 \- Get list of commands or info about specified command 540 698 .RE … … 548 706 .IP \(bu 2.3 549 707 .\} 550 debuglevel <level> 708 \FCdebuglevel <level>\F[] 551 709 \- Set debug level 552 710 .RE … … 560 718 .IP \(bu 2.3 561 719 .\} 562 freemem 720 \FCfreemem\F[] 563 721 \- Free memory currently in use 564 722 .RE … … 572 730 .IP \(bu 2.3 573 731 .\} 574 exit 732 \FCexit\F[] 575 733 \- Exit vfstest 576 734 .SH "VERSION" 577 735 .PP 578 This man page is correct for version 3\ .0 of the Samba suite\.736 This man page is correct for version 3\&.0 of the Samba suite\&. 579 737 .SH "AUTHOR" 580 738 .PP 581 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\.582 .PP 583 The vfstest man page was written by Jelmer Vernooij\ .739 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\&. 740 .PP 741 The vfstest man page was written by Jelmer Vernooij\&.
Note:
See TracChangeset
for help on using the changeset viewer.