Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkatfs(1) [debian man page]

mkatfs(1)							    ShapeTools								 mkatfs(1)

NAME
mkatfs - create and configure AtFS object repository and derived object cache SYNOPSIS
mkatfs [-cAmax_cached_per_cacheattr] [-cNmax_cached_per_name] [-cTmax_total_cached] [-cQ] [-ggroup] [-h] [-lpath] [-mmode] [-v] pathnames DESCRIPTION
mkatfs may be used to create an AtFS object repository, to link an existing repository, to configure a repository, or to set the size attributes of an derived object cache. It applies to all directories occurring in the pathnames list. If the list is empty, mkatfs performs its action in the current directory. Creating an AtFS object repository makes a directory named AtFS with several files and subdirectories in it. The -l option causes mkatfs to link an existing AtFS repository to the current directory (or the directories in the pathnames list). The -l option expects a pathname to a directory containing an AtFS repository or a link to an AtFS repository (links may be chained) as argu- ment. When linking a repository, mkatfs either creates a symbolic link or, if symbolic links are not available on your system, a file con- taining the name of the target directory. The latter will be interpreted by AtFS like a symbolic link. Configuring an AtFS repository means, that the group and the protection may be changed. These operations perform a chgrp(1) and a chmod(1) operation on the AtFS directory and all its subdirectories. The -cT, -cN, and -cA options set the size of the derived object cache in the created AtFS object repository. You may set the maximum total number (cT) of derived files to be stored, the maximum number of derived files per name (cN) and the maximum number of derived files with the same name and the same caching attribute (cA). The relationship of the three values must always be cT >= cN >= cA. For more information on that topic check the cacheadm(1) manual page. The -cQ option queries the actual settings for the derived object cache size. OPTIONS
-cA max_cached_per_cacheattr Set the maximum number of derived files with the same name and the same caching attribute to be stored. Default is 1. -cN max_cached_per_name Set the maximum number of derived files with the same name to be stored. Default is 3. -cT max_total_cached Set the total maximum number of derived files to be stored in the derived object cache. Default is 64. -g group Set the group id of the generated directory to group (see chgrp(1)). -h Display help message. -l path Create an AtFS directory entry by setting a symbolic link to an existing AtFS object repository, rather than creating a new (empty) one. On System V machines, a file containing the target directory name will be generated. The AtFS functions will interpret this as surrogate for a symbolic link. -m mode Set the mode of all generated directories to mode (see chmod(1)). -v Output version identification string. SEE ALSO
chgrp(1), chmod(1), atfsrepair(1), af_cache(3) AUTHOR
Andreas.Lampen@cs.tu-berlin.de AtFS-1.71 Mon Aug 8 13:28:26 1994 mkatfs(1)

Check Out this Related Man Page

af_cache(3)						    Attribute Filesystem (AtFS) 					       af_cache(3)

NAME
af_savecache, af_cachesize - AtFS derived object cache handling SYNOPSIS
#include <atfs.h> int af_savecache (Af_key *busyAso, Af_key* cachedAso, char *attr, int mode) int af_cachesize (char path, int totalMax, int maxPerName, int maxPerGivenAttr); DESCRIPTION
af_savecache copies a busy attributed software object (busyAso) to a derived object cache. A key for the resulting cached ASO is returned in the buffer cachedAso. Derived object caches are intended to hold derived objects that can be reproduced at any time. Reproducibility is important, because cached ASOs may be deleted automatically due to storage limitations for derived object caches. A cache allows a certain number of versions per name (see function af_cachesize described below) to be stored. When this number is reached, each time a new version arrives, the oldest version (access date) gets cleaned out. The strategy of cleaning out old versions when space is needed for new ones is influenced by the attr argument. When this is given af_save- cache searches for cached versions (with the same name as the new one) carrying the given attribute. If it finds one or more such versions, the oldest (access date) of them will be eliminated. The mode argument may have one of the following values AF_STORE_COMPLETE (default) The cached file is stored unmodified. AF_STORE_COMPRESSED The cached file will be stored in a compressed format. ASOs that are saved in derived object caches do not automatically get a version number. By means of af_svnum (manual page af_version(3)) you can attach any version number to an ASO stored in a derived object cache. af_cachesize defines the size strategy of the cache in directory path. It sets the maximum cache size for the whole directory (totalMax), the maximum number of versions per name (maxPerName), and the number of versions allowed simultaneously carrying the elimination attribute (see before). A value less or equal zero given for any of the arguments of af_cachesize will cause this argument to be ignored. DIAGNOSTICS
Upon error, -1 is returned and af_errno is set to the corresponding error number. BUGS
Compression of cached files (mode AF_STORE_COMPRESSED) is not yet supported. af_cachesize cannot shrink derived object caches yet. Values given must be greater or equal the prevoius size. AtFS-1.71 Mon Jul 19 18:19:37 1993 af_cache(3)
Man Page