Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

atfsrepair(1) [debian man page]

atfsrepair(1)							    ShapeTools							     atfsrepair(1)

NAME
atfsrepair - repair corrupted AtFS repository, or convert old repository to new format. SYNOPSIS
atfsrepair [-Ceinqv] file1 ... DESCRIPTION
Atfsrepair checks the AtFS repository for inconsistencies in the a given file history. If a corrupted archive file is found in the reposi- tory, atfsrepair tries to repair it by reconstructing missing parts and eliminating inconsistencies. Without a file argument, atfsrepair handles the complete repository. Atfsrepair is interactive and (hopefully) self explanatory. If you have permission problems, e.g. your AtFS repository grants group write permission but another user from your group can still not save data to the repository, atfsrepair is also the right thing to do. The programs straightens permission bits within the repository. Atfsrepair automatically updates archive files, when the archive file format or the arrangement of archive files within the AtFS subdirec- tory was changed. Before taking any permanent action, atfsrepair asks the user for a confirmation. This behaviour can be switched off by either the -n or the -q option (see below). Atfsrepair shall not be called concurrently with other applications on an AtFS repository. Make sure, that nobody else works on the reposi- tory to be repaired as atfsrepair may ignore existing archive locks and does not set own locks. OPTIONS
-C This option causes atfsrepair to try it's hand at a derived object cache. -e Edit Mode. Invoking atfsrepair with this option rather serves for manipulating archive files than for repairing them. It shall only be used by very experienced users. For nearly every item in the archive file, atfsrepair asks the caller for confirmation or modi- fication. Beware, this level of verbosity can be very annoying when the archive file is big. -i Interactive mode (default). -n Non-interactive mode. In this mode, atfsrepair tries to repair corrupted archive files without human assistance. It does not perform any user interaction and behaves as if the user would always choose the default decision in interactive mode. -q Quiet mode. Same as -n but also supresses all informative messages. Only error messages will be displayed. -v Print current version number. No file processing is done. SEE ALSO
afarchive(5) BUGS
Dates appear in internal form (seconds since 1970) rather than in human readable form. AUTHOR
Andreas.Lampen@cs.tu-berlin.de AtFS-1.71 Thu Jan 20 12:06:00 1994 atfsrepair(1)

Check Out this Related Man Page

af_misc(3)						    Attribute Filesystem (AtFS) 						af_misc(3)

NAME
af_afname, af_afpath, af_aftype, af_afuser, af_setarchpath, af_version - miscellaneous AtFS functions SYNOPSIS
#include <atfs.h> char *af_afname (char *path) char *af_afpath (char *path) char *af_aftype (char *path) Af_user*af_afuser (uit_t uid) char *af_setarchpath (char *path) char *af_version (void) DESCRIPTION
The functions af_afname, af_afpath and af_aftype extract name, syspath or type from a given (operating system dependent) file identifica- tion. In an UNIX environment, a given pathname of the form /usr/lib/libatfs.a leads to afname libatfs, afpath /usr/lib and aftype a. If no path (eg. otto.c), or no type (eg. /usr/hugo/Makefile) is given, the corresponding routine returns an empty string. A period as first character in a filename is always considered to be part of the name (e.g. .cshrc has the name .cshrc and an empty type string). "." and ".." are recognized as names. Archive file extensions and AtFS specific path extensions are stripped from the resulting name resp. pathname. Note: af_afname, af_afpath and af_aftype use static memory for the returned results. Subsequent calls of the same function overwrite for- mer results. af_afuser returns an AtFS user identification which consists of the login name of the user identified by uid, the current host and the cur- rent domain. Uid_t is defined according to the return type of getuid (2) on your system. The Af_user type has the following structure typedef struct { charaf_username[MAXUSERNAMELEN]; charaf_userhost[MAXHOSTNAMELEN]; charaf_userdomain[MAXDOMAIN+1]; } Af_user; af_setarchpath defines the location of the AtFS archive files. A nil-pointer given as path-argument clears the former setting of the global archive path. af_setarchpath returns the old global archive path. Initially, no global archive path is set. In this case, all archive files are stored in a subdirectory called AtFS, relative to the directory where corresponding busy version resides. af_version returns a string that names the version and the creator of the currently used AtFS library. SEE ALSO
getuid(2) AtFS-1.71 Fri Jun 25 14:33:12 1993 af_misc(3)
Man Page