From 222806dbcdeb4d5d7d954965e8a914664d2671d1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 19 Aug 2002 01:11:00 +0000 Subject: Add vfstest manpage + fix typo in configure (This used to be commit 477e8bb1a9b1895a4987ef2377b48ecc31999ab5) --- docs/docbook/Makefile.in | 12 ++- docs/docbook/configure.in | 2 +- docs/docbook/manpages/vfstest.1.sgml | 160 +++++++++++++++++++++++++++++++++++ 3 files changed, 171 insertions(+), 3 deletions(-) create mode 100644 docs/docbook/manpages/vfstest.1.sgml diff --git a/docs/docbook/Makefile.in b/docs/docbook/Makefile.in index 0320081876..5056f82a98 100644 --- a/docs/docbook/Makefile.in +++ b/docs/docbook/Makefile.in @@ -37,7 +37,7 @@ MANPAGES=$(MANDIR)/findsmb.1 $(MANDIR)/smbclient.1 \ $(MANDIR)/smb.conf.5 $(MANDIR)/wbinfo.1 $(MANDIR)/pdbedit.8 \ $(MANDIR)/smbcacls.1 $(MANDIR)/smbsh.1 $(MANDIR)/winbindd.8 \ $(MANDIR)/make_unicodemap.1 $(MANDIR)/net.8 \ - $(MANDIR)/smbgroupedit.8 + $(MANDIR)/smbgroupedit.8 $(MANDIR)/vfstest.1 SGMLMANSRC=manpages/findsmb.1.sgml manpages/smbclient.1.sgml \ manpages/smbspool.8.sgml manpages/lmhosts.5.sgml \ @@ -53,7 +53,7 @@ SGMLMANSRC=manpages/findsmb.1.sgml manpages/smbclient.1.sgml \ manpages/wbinfo.1.sgml manpages/smbcacls.1.sgml \ manpages/smbsh.1.sgml manpages/winbindd.8.sgml \ manpages/make_unicodemap.1.sgml manpages/smbgroupedit.8.sgml \ - manpages/net.8.sgml + manpages/net.8.sgml manpages/vfstest.1.sgml HOWTOSRC=projdoc/DOMAIN_MEMBER.sgml projdoc/NT_Security.sgml \ projdoc/msdfs_setup.sgml projdoc/printer_driver2.sgml \ @@ -328,6 +328,14 @@ $(MANDIR)/testprns.1: manpages/testprns.1.sgml @echo "Making HTML version of $@" @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` +$(MANDIR)/vfstest.1: manpages/vfstest.1.sgml + @echo "Making $@" + @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl + @cat `echo $@ | sed 's,.*/,,'` | $(PERL) scripts/strip-links.pl > $@ + @/bin/rm -f `echo $@ | sed 's,.*/,,'` + @echo "Making HTML version of $@" + @$(JADE) -t sgml -i html -V nochunks -d ./stylesheets/ldp.dsl\#html $< > $(HTMLDIR)/`echo $< | sed 's,.*/,,'| sed "s/\.sgml/\.html/g"` + $(MANDIR)/smb.conf.5: manpages/smb.conf.5.sgml @echo "Making $@" @$(NSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl diff --git a/docs/docbook/configure.in b/docs/docbook/configure.in index ad0613f2be..f8b4a1618a 100644 --- a/docs/docbook/configure.in +++ b/docs/docbook/configure.in @@ -38,7 +38,7 @@ esac # The Makefile requires docbook2X in the share/sgml directory if [ ! test -f $SGML_SHARE/docbook2X/docbook2man-spec.pl ]; then - AC_MSG_ERROR("Unable to find dockbook2X. Make sure it is installed and that the sgml-share path is correct.") + AC_MSG_ERROR("Unable to find docbook2X. Make sure it is installed and that the sgml-share path is correct.") fi AC_SUBST(SGML_SHARE)dnl diff --git a/docs/docbook/manpages/vfstest.1.sgml b/docs/docbook/manpages/vfstest.1.sgml new file mode 100644 index 0000000000..daa52d5d4b --- /dev/null +++ b/docs/docbook/manpages/vfstest.1.sgml @@ -0,0 +1,160 @@ + + + + + vfstest + 1 + + + + + vfstest + tool for testing samba VFS modules + + + + + vfstest + -d debuglevel + -c "command" + -l "logfile" + -h + + + + + DESCRIPTION + + This tool is part of the + Samba suite. + + vfstest 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. + + + + + + OPTIONS + + + + + -c|--command=command + Execute the specified (colon-seperated) commands. + See below for the commands that are available. + + + + + + -d|--debug=debuglevel + set the debuglevel. Debug level 0 is the lowest + and 100 being the highest. This should be set to 100 if you are + planning on submitting a bug report to the Samba team (see BUGS.txt). + + + + + -h|--help + Print a summary of command line options. + + + + + -l|--logfile=logbasename + File name for log/debug files. The extension + '.client' will be appended. The log file is never removed + by the client. + + + + + + + + + COMMANDS + + VFS COMMANDS + + load <module.so> - Load specified VFS module + + populate <char> <size> - Populate a data buffer with the specified data + + + showdata [<offset> <len>] - Show data currently in data buffer + + + connect - VFS connect() + disconnect - VFS disconnect() + disk_free - VFS disk_free() + opendir - VFS opendir() + readdir - VFS readdir() + mkdir - VFS mkdir() + rmdir - VFS rmdir() + closedir - VFS closedir() + open - VFS open() + close - VFS close() + read - VFS read() + write - VFS write() + lseek - VFS lseek() + rename - VFS rename() + fsync - VFS fsync() + stat - VFS stat() + fstat - VFS fstat() + lstat - VFS lstat() + unlink - VFS unlink() + chmod - VFS chmod() + fchmod - VFS fchmod() + chown - VFS chown() + fchown - VFS fchown() + chdir - VFS chdir() + getwd - VFS getwd() + utime - VFS utime() + ftruncate - VFS ftruncate() + lock - VFS lock() + symlink - VFS symlink() + readlink - VFS readlink() + link - VFS link() + mknod - VFS mknod() + realpath - VFS realpath() + + + GENERAL COMMANDS + + conf <smb.conf> - Load a different configuration file + + help [<command>] - Get list of commands or info about specified command + + debuglevel <level> - Set debug level + + freemem - Free memory currently in use + + exit - Exit vfstest + + + + + + + VERSION + + This man page is correct for version 3.0 of the Samba + suite. + + + + AUTHOR + + 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. + + The vfstest man page was written by Jelmer Vernooij. + + + -- cgit