AFS::FS

AFS::FS is a Perl module to communicate with an AFS File Server.
Download

AFS::FS Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Norbert E. Gruener
  • Publisher web site:
  • http://search.cpan.org/~nog/AFS-2.4.0/pod/v2/afsperlkas.pod

AFS::FS Tags


AFS::FS Description

AFS::FS is a Perl module to communicate with an AFS File Server. AFS::FS is a Perl module to communicate with an AFS File Server.SYNOPSIS use AFS::FS qw( getquota isafs lsmount mkmount rmmount setquota whereis ); my $quota = getquota('.'); my $ok = setquota('.', $quota); $ok = isafs('.'); my $vol = lsmount('/afs/mpa/home/nog'); print "Vol = $vol n"; $ok = mkmount('./tmp', 'home.nog'); print "ok mkmount = $okn"; $ok = rmmount('./tmp'); print "ok rmmount = $okn"; my @hosts = whereis('/afs/mpa/home', 1); foreach my $host (@hosts) { print " $hostn"; }NOTE: The following lines are 'version 1' style: all names are exported by default. This style is deprecated !!! use AFS; # import all AFS names use AFS @AFS::CM; # import just the cache manager namesThis module provides several functions to communicate with an AFS file server. It is used to check the status of a file server machine. It has functions to administer mount points and quotas. On request it returns the server(s) that house a given file or directory. Any function required must by explicitly listed by the use statement to be exported into the calling package.Some of these functions have the optional argument FOLLOW. FOLLOW determines which file should be used should PATH be a symbolic link. If FOLLOW be set to 1, then the symbolic link is followed to its target. If FOLLOW is set to 0, then the function applies to the symbolic link itself. If not specified FOLLOW defaults to 1. Requirements: · Perl


AFS::FS Related Software