About this list Date view Thread view Subject view Author view Attachment view

From: ktf_at_gun.de
Date: Sat 21 Aug 2004 - 03:27:50 BST


Hi there,

for getting more familiar with VServers I've began to write some little
tools and Herbert was so kind to put them on his server tonight. So if
anyone likes to have a look:

http://vserver.13thfloor.at/Stuff/ktf-vserver-tools-0.1.tar.gz

Thought behind these tools were to create some powerful, but yet
generic programs (not only usable for VServers) written in C to be used
in scripts then. Be warned, that all code dealing with immutable flags
does only work on ext3-filesystems by now. I'm off for a week holiday
and would like to hear your thoughts, if you have time to test it,

Klaus

------

currently there are only 4 programs:

generic:

NAME
       funify - unify files in two different directories (ext3-FS only!)

SYNOPSIS
       funify [-cCDhnSTvz] [-s scrdir] -d dstdir [file...]

DESCRIPTION
       funify tries to unify (-> UNIFYING) the named files in scrdir and dst-
       dir. If no -s option is given, the current directory will be used as
       scrdir.

       file must be a relative path from the current directory (or scrdir) to
       a regular file and may not contain any path elements consisting of '..'
       (-> CHECKS).

       When no filenames are given on the command line, funify will expect
       them on <stdin> (like xargs(1) or cpio(1)). It is highly recommended to
       use option -z when using funify this way!
       (...)

NAME
       flinked - report disk usage of directory trees with linked files

SYNOPSIS
       flinked [-aAEFHILST] [-bhinsfuUxz] [path...]
       flinked -h

DESCRIPTION
       flinked checks the given path on how much disk space it consumes. If
       path refers to a directory it will be processed recursively unless the
       option -n was used. While it does so, it checks also, if files with a
       link count greater than one have their other directory entries within
       the given path. This comes handy when trying to determine how much disk
       space an unified VServer takes up.

       flinked may either be used to generate a summary or a list of files (or
       both). For this the options are seperated in two classes - list format
       options and select options. If no list format option was used, flinked
       defaults to produce a summary.

       When no filenames are given on the command line, flinked will expect
       them on <stdin> (like xargs(1) or cpio(1)). It is highly recommended to
       use option -z when using flinked this way!
       (...)

2 Scripts making use of funify:

NAME
       vsunify - unify files in two vservers

SYNOPSIS
       vsunify [-c] [-C] [-n] [-S] [-T] [-v] sourceVS targetVS
       vsunify -h

DESCRIPTION
(You guess)

NAME
       vsclone - clone a vserver

SYNOPSIS
       vsclone [-c] [-C] [-n] [-S] [-T] [-v] templateVS newVS
       vsclone -h

DESCRIPTION
(You guess)

-- 
   Klaus ter Fehn          Wagnerstr. 4    Mobile: +49-172-2529379
                     40212 Duesseldorf     Phone:  +49-211-356880
     ktf_at_gun.de            FRG/Germany     Fax:    +49-211-356881

... to boldly code where no byte has gone before ... _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 21 Aug 2004 - 03:47:02 BST by hypermail 2.1.3