[727] in Info-AFS_Redistribution
Re: Finding mount points
daemon@ATHENA.MIT.EDU (Daniel Edward Lovinger)
Thu Apr 16 17:00:26 1992
Date: Thu, 16 Apr 1992 15:54:25 -0400 (EDT)
From: Daniel Edward Lovinger <dl2n+@andrew.cmu.edu>
To: Info-AFS@transarc.com
In-Reply-To: <9204161818.AA25705@psychosis.ssc.gov>
wallis@psychosis.ssc.gov (Dave Wallis) writes:
> I would like to generate a listing of all the mountpoints in a cell
> (or some subset of a cell), partly for recovery purposes, and partly
> for documentation to keep administrators up-to-date on what's
> changing, which volumes are replicated and need to be fs released,
> etc.
I rather cheaply hacked a thing that does something like this
a few months ago. Basically:
449 dl2n@freehold:mtpt> mtpt ~dl2n
cs.cmu.edu:user.dl2n /afs/andrew.cmu.edu/usr12/dl2n/foo
acs.asg.dl2n /afs/andrew.cmu.edu/usr12/dl2n/work
acs.asg.dl2n-msgs /afs/andrew.cmu.edu/usr12/dl2n/.MESSAGES
It doesn't tell you about backup volumes (easy to change).
The source can be found in
/afs/andrew.cmu.edu/usr12/dl2n/src/mtpt.
The work was already done by Jay Laefer (jl57+@andrew.cmu.edu)
- I just frobbed it a little. As is apparent from the code, I'm making
shockingly little use of the functionality that is in there. The
complete source (and documentation) for the library is in
/afs/andrew.cmu.edu/system/src/contributed/niftylibs/017[/dirs]
but is not needed for mtpt. Jay tells me that he is planning to do
something about really releasing the library sometime this summer. In
the meantime if anyone finds it useful we'd appreciate feedback ...
dan