DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

vfstest(1)




VFSTEST(1)               USER COMMANDS                 VFSTEST(1)


NAME

     vfstest - tool for testing samba VFS modules


SYNOPSIS

     vfstest [-d debuglevel] [-c command] [-l logdir] [-h]


DESCRIPTION

     This tool is part of the samba(7) 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 cas-
     caded VFS modules.


OPTIONS

     -c|--command=command
        Execute the  specified  (colon-separated)  commands.  See
        below for the commands that are available.

     -h|--help
        Print a summary of command line options.

     -l|--logfile=logbasename
        File name for log/debug  files.  The  extension  will  be
        appended. The log file is never removed by the client.

     -V Prints the program version number.

     -s <configuration file>
        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 smb.conf  for
        more  information. The default configuration file name is
        determined at compile time.

     -d|--debuglevel=level
        level is an integer from 0 to 10. The  default  value  if
        this parameter is not specified is zero.

        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.

        Levels above 1 will generate considerable amounts of  log
        data,  and should only be used when investigating a prob-
        lem. Levels above 3 are designed for use only by develop-
        ers  and generate HUGE amounts of log data, most of which

                          Last change:                          1

VFSTEST(1)               USER COMMANDS                 VFSTEST(1)

        is extremely cryptic.

        Note that specifying this parameter  here  will  override
        the

        parameter in the smb.conf file.

     -l|--logfile=logdirectory
        Base directory name for log/debug  files.  The  extension
        ".progname"   will   be   appended  (e.g.  log.smbclient,
        log.smbd, etc...). The log file is never removed  by  the
        client.


COMMANDS

     VFS COMMANDS

     &#8226;
        load <module.so> - Load specified VFS module

     &#8226;
        populate <char> <size> - Populate a data buffer with  the
        specified data

     &#8226;
        showdata [<offset> <len>] - Show data currently  in  data
        buffer

     &#8226;
        connect - VFS connect()

     &#8226;
        disconnect - VFS disconnect()

     &#8226;
        disk_free - VFS disk_free()

     &#8226;
        opendir - VFS opendir()

     &#8226;
        readdir - VFS readdir()

     &#8226;
        mkdir - VFS mkdir()

     &#8226;
        rmdir - VFS rmdir()

     &#8226;
        closedir - VFS closedir()

     &#8226;

                          Last change:                          2

VFSTEST(1)               USER COMMANDS                 VFSTEST(1)

        open - VFS open()

     &#8226;
        close - VFS close()

     &#8226;
        read - VFS read()

     &#8226;
        write - VFS write()

     &#8226;
        lseek - VFS lseek()

     &#8226;
        rename - VFS rename()

     &#8226;
        fsync - VFS fsync()

     &#8226;
        stat - VFS stat()

     &#8226;
        fstat - VFS fstat()

     &#8226;
        lstat - VFS lstat()

     &#8226;
        unlink - VFS unlink()

     &#8226;
        chmod - VFS chmod()

     &#8226;
        fchmod - VFS fchmod()

     &#8226;
        chown - VFS chown()

     &#8226;
        fchown - VFS fchown()

     &#8226;
        chdir - VFS chdir()

     &#8226;
        getwd - VFS getwd()

     &#8226;
        utime - VFS utime()

                          Last change:                          3

VFSTEST(1)               USER COMMANDS                 VFSTEST(1)

     &#8226;
        ftruncate - VFS ftruncate()

     &#8226;
        lock - VFS lock()

     &#8226;
        symlink - VFS symlink()

     &#8226;
        readlink - VFS readlink()

     &#8226;
        link - VFS link()

     &#8226;
        mknod - VFS mknod()

     &#8226;
        realpath - VFS realpath()

     GENERAL COMMANDS

     &#8226;
        conf <smb.conf> - Load a different configuration file

     &#8226;
        help [<command>] - Get list of  commands  or  info  about
        specified command

     &#8226;
        debuglevel <level> - Set debug level

     &#8226;
        freemem - Free memory currently in use

     &#8226;
        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.

                          Last change:                          4


Man(1) output converted with man2html