NAME

fs_flush - Forces the Cache Manager to discard a cached file or directory

SYNOPSIS

fs flush [-path <dir/file path>+] [-help]

DESCRIPTION

The fs flush command removes from the cache all data and status information associated with each specified file or directory. The next time an application requests data from the flushed directory or file, the Cache Manager fetches the most current version from a File Server, along with a new callback (if necessary) and associated status information. This command has no effect on two types of data:

To flush all data in the cache that was fetched from the same volume as a specified file or directory, use the fs flushvolume command. To flush a corrupted mount point, use the fs flushmount command. To flush all data in the cache regardless of volume, use the fs flushall command.

OPTIONS

-path <dir/file path>+

Names each AFS file or directory to run the command on. Partial pathnames are interpreted relative to the current working directory, which is also the default value if this argument is omitted.

-help

Prints the online help for this command. All other valid options are ignored.

EXAMPLES

The following command flushes from the cache the file projectnotes in the current working directory and all data from the subdirectory plans:

   % fs flush -path projectnotes ./plans/*

PRIVILEGE REQUIRED

The issuer must have the l (lookup) permission on the ACL of the root directory of the volume that houses the file or directory named by the -path argument, and on the ACL of each directory that precedes it in the pathname.

SEE ALSO

fs_flushall(1), fs_flushmount(1), fs_flushvolume(1)

COPYRIGHT

IBM Corporation 2000. http://www.ibm.com/ All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

ACKNOWLEDGEMENTS

"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)

"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)

The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).

"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).

"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.