Can one find a mount point just knowing the volume name?

Stephen Joyce stephen@physics.unc.edu
Thu, 8 Feb 2001 12:52:51 -0500 (EST)


Well, I run the script unattended via a wrapper script which explicitly
sets the path to a known value (in addition to some other tasks such as
getting tokens, logging the output, etc). You're right it should probably
explicitly call /usr/afsws/bin/fs though.

On Thu, 8 Feb 2001, Neulinger, Nathan R. wrote:

> >         $vol = `fs lsmount $name`;
> 
> I hope you don't plan on running that script with a user that has any
> privileges as you've got a gaping security hole right there.
> 
> -- Nathan

Cheers,
Stephen
--
Stephen Joyce
Systems Administrator                                            P A N I C
Physics & Astronomy Department                         Physics & Astronomy
University of North Carolina at Chapel Hill         Network Infrastructure
voice: (919) 962-7214                                        and Computing
fax: (919) 962-0480                               http://www.panic.unc.edu