[982] in athena10

home help back first fref pref prev next nref lref last post

[debathena] New /mit Automounter Features

daemon@ATHENA.MIT.EDU (Evan Broder)
Sun Jan 25 22:18:30 2009

Message-ID: <497D2B46.4060704@mit.edu>
Date: Sun, 25 Jan 2009 22:17:26 -0500
From: Evan Broder <broder@MIT.EDU>
MIME-Version: 1.0
To: debathena-announce@mit.edu
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi everyone -

    Tonight I uploaded a new version of debathena-pyhesiodfs, the
package providing the /mit automounter, and it has a few features that
people may want to know about.

First of all, the contents of the /mit directory are now stored
uniquely for each user, and each user will see a different set of
symlinks when he or she looks in /mit.

Because we now have this isolation between users, it is possible to
allow users to override the locker information from Hesiod. If you
would like to mount a different path at a locker, you can now do so by
using `ln -nsf`. For example,
 
  priscus:~ evan$ readlink -f /mit/broder
  /afs/athena.mit.edu/user/b/r/broder
  priscus:~ evan$ ln -nsf /afs/sipb.mit.edu/user/broder /mit/broder
  priscus:~ evan$ readlink -f /mit/broder
  /afs/sipb.mit.edu/user/broder

You can restore the old symlink by removing the entry from /mit; it
will be recreated the next time the path is accessed:

  priscus:~ evan$ rm /mit/broder
  priscus:~ evan$ readlink -f /mit/broder
  /afs/athena.mit.edu/user/b/r/broder

I'm sure that locker maintainers will find this useful for
manipulating replicated AFS volumes. We intend to patch the attach
command to be able to create these symlinks as well, but for now
functions such as `attach -e` won't work with the automounter.

Feel free to contact us at debathena@mit.edu if you have any questions
about how to use the newly improved automounter.

- Evan
SIPB Debathena

home help back first fref pref prev next nref lref last post