Q:

How can I tell if a file is in AFS?

A:

If you are unfamiliar with AFS, please see [ http://help.unc.edu/?id=215 ] Introduction to AFS.

From the Windows AFS client:

Right-click on the folder. If the menu it brings up has an AFS entry, the file is in AFS. Non-AFS folders will not have this entry.

From UNIX:

Run one of these commands to check (replace path with the pathname to the file you wish to edit):

From isis.unc.edu:

cd path; /bin/pwd 

A file in AFS will give a location starting with /afs/isis.unc.edu, and one not in AFS will return a location that doesn't start with /afs.

or

/usr/afsws/bin/fs listacl path 

A file in AFS will give a multi-line response starting with "Volume status", and one not in AFS will return "fs: Invalid argument; it is possible that . is not in AFS".

 

Copyright 2002-2007 The University of North Carolina at Chapel Hill.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 United States License.

Post a Comment

This form is for document feedback. If you need technical assistance, and are affiliated with UNC-Chapel Hill, please Submit a Help Request
Optional
Optional
So that we may contact you.
Do not fill out this form, this is a spam trap.
Top
University of North Carolina - Chapel Hill