2004-04-07 14:15:11 +04:00
<?xml version="1.0" encoding="iso-8859-1"?>
2005-03-12 22:33:59 +03:00
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
2004-04-07 14:15:11 +04:00
<refentry id= "vfstest.1" >
<refmeta >
<refentrytitle > vfstest</refentrytitle>
<manvolnum > 1</manvolnum>
2008-04-07 00:26:45 +04:00
<refmiscinfo class= "source" > Samba</refmiscinfo>
<refmiscinfo class= "manual" > User Commands</refmiscinfo>
2017-01-12 11:01:54 +03:00
<refmiscinfo class= "version" > 4.7</refmiscinfo>
2004-04-07 14:15:11 +04:00
</refmeta>
<refnamediv >
<refname > vfstest</refname>
<refpurpose > tool for testing samba VFS modules </refpurpose>
</refnamediv>
<refsynopsisdiv >
<cmdsynopsis >
<command > vfstest</command>
<arg choice= "opt" > -d debuglevel</arg>
<arg choice= "opt" > -c command</arg>
<arg choice= "opt" > -l logdir</arg>
<arg choice= "opt" > -h</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 >
<title > DESCRIPTION</title>
2004-04-27 18:43:44 +04:00
<para > This tool is part of the <citerefentry > <refentrytitle > samba</refentrytitle>
2004-04-07 14:15:11 +04:00
<manvolnum > 7</manvolnum> </citerefentry> suite.</para>
<para > <command > vfstest</command> 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.
</para>
</refsect1>
<refsect1 >
<title > OPTIONS</title>
<variablelist >
<varlistentry >
<term > -c|--command=command</term>
2013-03-13 08:46:07 +04:00
<listitem > <para > Execute the specified (<constant > semicolon</constant> -separated) commands.
2004-04-07 14:15:11 +04:00
See below for the commands that are available.
</para> </listitem>
</varlistentry>
&stdarg.help;
<varlistentry >
<term > -l|--logfile=logbasename</term>
<listitem > <para > File name for log/debug files. The extension
<constant > '.client'</constant> will be appended. The log file is never removed
by the client.
</para> </listitem>
</varlistentry>
2008-01-10 11:39:53 +03:00
&stdarg.server.debug;
2004-04-07 14:15:11 +04:00
&popt.common.samba;
</variablelist>
</refsect1>
<refsect1 >
<title > COMMANDS</title>
<para > <emphasis > VFS COMMANDS</emphasis> </para>
<itemizedlist >
<listitem > <para > <command > load < module.so> </command> - Load specified VFS module </para> </listitem>
<listitem > <para > <command > populate < char> < size> </command> - Populate a data buffer with the specified data
</para> </listitem>
<listitem > <para > <command > showdata [< offset> < len> ]</command> - Show data currently in data buffer
</para> </listitem>
<listitem > <para > <command > connect</command> - VFS connect()</para> </listitem>
<listitem > <para > <command > disconnect</command> - VFS disconnect()</para> </listitem>
<listitem > <para > <command > disk_free</command> - VFS disk_free()</para> </listitem>
<listitem > <para > <command > opendir</command> - VFS opendir()</para> </listitem>
<listitem > <para > <command > readdir</command> - VFS readdir()</para> </listitem>
<listitem > <para > <command > mkdir</command> - VFS mkdir()</para> </listitem>
<listitem > <para > <command > rmdir</command> - VFS rmdir()</para> </listitem>
<listitem > <para > <command > closedir</command> - VFS closedir()</para> </listitem>
<listitem > <para > <command > open</command> - VFS open()</para> </listitem>
<listitem > <para > <command > close</command> - VFS close()</para> </listitem>
<listitem > <para > <command > read</command> - VFS read()</para> </listitem>
<listitem > <para > <command > write</command> - VFS write()</para> </listitem>
<listitem > <para > <command > lseek</command> - VFS lseek()</para> </listitem>
<listitem > <para > <command > rename</command> - VFS rename()</para> </listitem>
<listitem > <para > <command > fsync</command> - VFS fsync()</para> </listitem>
<listitem > <para > <command > stat</command> - VFS stat()</para> </listitem>
<listitem > <para > <command > fstat</command> - VFS fstat()</para> </listitem>
<listitem > <para > <command > lstat</command> - VFS lstat()</para> </listitem>
<listitem > <para > <command > unlink</command> - VFS unlink()</para> </listitem>
<listitem > <para > <command > chmod</command> - VFS chmod()</para> </listitem>
<listitem > <para > <command > fchmod</command> - VFS fchmod()</para> </listitem>
<listitem > <para > <command > chown</command> - VFS chown()</para> </listitem>
<listitem > <para > <command > fchown</command> - VFS fchown()</para> </listitem>
<listitem > <para > <command > chdir</command> - VFS chdir()</para> </listitem>
<listitem > <para > <command > getwd</command> - VFS getwd()</para> </listitem>
<listitem > <para > <command > utime</command> - VFS utime()</para> </listitem>
<listitem > <para > <command > ftruncate</command> - VFS ftruncate()</para> </listitem>
<listitem > <para > <command > lock</command> - VFS lock()</para> </listitem>
<listitem > <para > <command > symlink</command> - VFS symlink()</para> </listitem>
<listitem > <para > <command > readlink</command> - VFS readlink()</para> </listitem>
<listitem > <para > <command > link</command> - VFS link()</para> </listitem>
<listitem > <para > <command > mknod</command> - VFS mknod()</para> </listitem>
<listitem > <para > <command > realpath</command> - VFS realpath()</para> </listitem>
2013-03-13 08:46:07 +04:00
<listitem > <para > <command > getxattr</command> - VFS getxattr()</para> </listitem>
<listitem > <para > <command > listxattr</command> - VFS listxattr()</para> </listitem>
<listitem > <para > <command > setxattr</command> - VFS setxattr()</para> </listitem>
<listitem > <para > <command > removexattr</command> - VFS removexattr()</para> </listitem>
<listitem > <para > <command > fget_nt_acl</command> - VFS fget_nt_acl()</para> </listitem>
<listitem > <para > <command > get_nt_acl</command> - VFS get_nt_acl()</para> </listitem>
<listitem > <para > <command > fset_nt_acl</command> - VFS fset_nt_acl()</para> </listitem>
<listitem > <para > <command > set_nt_acl</command> - VFS open() and fset_nt_acl()</para> </listitem>
<listitem > <para > <command > fchmod_acl</command> - VFS fchmod_acl()</para> </listitem>
<listitem > <para > <command > chmod_acl</command> - VFS chmod_acl()</para> </listitem>
<listitem > <para > <command > sys_acl_get_file</command> - VFS sys_acl_get_file()</para> </listitem>
<listitem > <para > <command > sys_acl_get_fd</command> - VFS sys_acl_get_fd()</para> </listitem>
<listitem > <para > <command > sys_acl_blob_get_file</command> - VFS sys_acl_blob_get_file()</para> </listitem>
<listitem > <para > <command > sys_acl_blob_get_fd</command> - VFS sys_acl_blob_get_fd()</para> </listitem>
<listitem > <para > <command > sys_acl_delete_def_file</command> - VFS sys_acl_delete_def_file()</para> </listitem>
<listitem > <para > <command > test_chain</command> - test chain code</para> </listitem>
<listitem > <para > <command > translate_name</command> - VFS translate_name()</para> </listitem>
2004-04-07 14:15:11 +04:00
</itemizedlist>
<para > <emphasis > GENERAL COMMANDS</emphasis> </para>
<itemizedlist >
<listitem > <para > <command > conf < smb.conf> </command> - Load a different configuration file</para> </listitem>
<listitem > <para > <command > help [< command> ]</command> - Get list of commands or info about specified command</para> </listitem>
<listitem > <para > <command > debuglevel < level> </command> - Set debug level</para> </listitem>
<listitem > <para > <command > freemem</command> - Free memory currently in use</para> </listitem>
<listitem > <para > <command > exit</command> - Exit vfstest</para> </listitem>
</itemizedlist>
</refsect1>
<refsect1 >
<title > VERSION</title>
2013-03-13 08:46:07 +04:00
<para > This man page is correct for version 3 and 4 of the Samba
2004-04-07 14:15:11 +04:00
suite.</para>
</refsect1>
<refsect1 >
<title > AUTHOR</title>
<para > 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.</para>
2013-03-13 08:46:07 +04:00
<para > The vfstest man page was written by Jelmer Vernooij. Updated version by Guenter Kukkukk.</para>
2004-04-07 14:15:11 +04:00
</refsect1>
</refentry>