.\" -*- 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_WHICHCELL 1" .TH FS_WHICHCELL 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_whichcell \- Returns the cell to which a file or directory belongs .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBfs whichcell\fR [\fB\-path\fR\ <\fIdir/file\ path\fR>+] [\fB\-help\fR] .PP \&\fBfs whi \fR [\fB\-p\fR\ <\fIdir/file\ path\fR>+] [\fB\-h\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBfs whichcell\fR command returns the name of the cell in which the volume that houses each indicated directory or file resides. .PP To display the file server machine on which the volume housing a directory or file resides, use the \fBfs whichcell\fR command. To display the cell membership of the local machine, use the \fBfs wscell\fR command. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-path\fR <\fIdir/file path\fR>+" 4 .IX Item "-path +" Names each AFS file or directory for which to return the cell membership. 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 OUTPUT .IX Header "OUTPUT" The output includes a line for each directory or file, naming the cell to which the volume that houses the directory or file resides. .SH EXAMPLES .IX Header "EXAMPLES" The following example shows that the current working directory resides in a volume in the Example Corporation cell: .PP .Vb 2 \& % fs whichcell \& File . lives in cell \*(Aqexample.com\*(Aq .Ve .SH "PRIVILEGE REQUIRED" .IX Header "PRIVILEGE REQUIRED" None .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBfs_wscell\fR\|(1), \&\fBfs_whereis\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.