NFSPROC_GETATTR - Get File Attributes
- typedef opaque fhandle[NFS_FHSIZE];
- union attrstat switch (stat status) { case NFS_OK: fattr attributes; default: void; };
fattr and sattr are defined in
Basic Data Types .
- attrstat NFSPROC_GETATTR (fhandle) = 1;
If the reply status is
NFS_OK, then the reply attributes contains the attributes for the file given by the input fhandle. The file handle supplied to this procedure can refer to any of the supported file types. See the definition of ftype in Basic Data Types .
- NFS_OK
Indicates that the call completed successfully and the results are valid.
- NFSERR_IO
- Some sort of hard error occurred when the operation was in progress. This could be a disk error, for example.
- NFSERR_STALE
- The fhandle given in the arguments was invalid. That is, the file referred to by that file handle no longer exists, or access to it has been revoked.
Contents | Next section | Index |