[OpenAFS-devel] Soft mounts for /afs root
Michael Niksch
nik@zurich.ibm.com
Fri, 15 Jun 2001 20:38:29 +0200
Couldn't all that configuration information be stored in an extended
CellServDB format as well as a prepopulated /afs stub on the client?
Something along the lines of having a CellServDB reading
# Mount most frequently used cell RO and RW, hardcode its servers.
>hard,ro,rw>ir.stanford.edu # Stanford University
171.64.7.222 #afsdb1.stanford.edu
171.64.7.234 #afsdb2.stanford.edu
171.64.7.246 #afsdb3.stanford.edu
# Automout other local cells RO and RW using AFSDB 1 records.
>auto,ro,rw>*.stanford.edu
# Never ever mount si.umich.edu.
>deny>si.umich.edu
# Automount RO all other cells using AFSDB 1 records.
>auto,ro>*
and prepopulating /afs with symbolic links like
/afs/ir -> ir.stanford.edu
/afs/.ir -> .ir.stanford.edu
Don't flame me about the CellServDB syntax, it's just an example to
demonstrate the idea.
--
Michael Niksch /Zurich/IBM @ IBMCH
IBM Zurich Research Laboratory nik@zurich.ibm.com
Saeumerstrasse 4 http://www.zurich.ibm.com/~nik/
CH-8803 Rueschlikon / Switzerland P: +41-1-724-8913 F: +41-1-724-8080