.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "FS_FLUSH 1" .TH FS_FLUSH 1 2024-03-20 OpenAFS "AFS Command Reference" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME fs_flush \- Forces the Cache Manager to discard a cached file or directory .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBfs flush\fR [\fB\-path\fR\ <\fIdir/file\ path\fR>+] [\fB\-help\fR] .PP \&\fBfs flush\fR [\fB\-p\fR\ <\fIdir/file\ path\fR>+] [\fB\-h\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBfs flush\fR 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: .IP \(bu 4 Data in application program buffers. .IP \(bu 4 Data that has been changed locally and written to the cache but not yet written to the copy on the file server machine. .PP To flush all data in the cache that was fetched from the same volume as a specified file or directory, use the \fBfs flushvolume\fR command. To flush a corrupted mount point, use the \fBfs flushmount\fR command. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-path\fR <\fIdir/file path\fR>+" 4 .IX Item "-path +" Names each file or directory to flush from the cache. If it is a directory, only the directory element itself is flushed, not data cached from files or subdirectories that reside in it. Partial pathnames are interpreted relative to the current working directory, which is also the default value if this argument is omitted. .IP \fB\-help\fR 4 .IX Item "-help" Prints the online help for this command. All other valid options are ignored. .SH EXAMPLES .IX Header "EXAMPLES" The following command flushes from the cache the file \f(CW\*(C`projectnotes\*(C'\fR in the current working directory and all data from the subdirectory \f(CW\*(C`plans\*(C'\fR: .PP .Vb 1 \& % fs flush \-path projectnotes ./plans/* .Ve .SH "PRIVILEGE REQUIRED" .IX Header "PRIVILEGE REQUIRED" The issuer must have the \f(CW\*(C`l\*(C'\fR (lookup) permission on the ACL of the root directory of the volume that houses the file or directory named by the \&\fB\-path\fR argument, and on the ACL of each directory that precedes it in the pathname. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBfs_flushmount\fR\|(1), \&\fBfs_flushvolume\fR\|(1) .SH COPYRIGHT .IX Header "COPYRIGHT" IBM Corporation 2000. All Rights Reserved. .PP 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.