1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
8 # An InstallGuide for installing the AFS aware file system checker
9 # For Sun systems running Solaris 2.6
13 my($ufs, , $afs, $file);
14 $ufs = "/usr/lib/fs/ufs";
15 $afs = "/usr/lib/fs/afs";
18 &Copy("root.server/etc/vfsck", "$afs/fsck");
21 $rc = opendir(UFS, $ufs);
22 &ErrorMsg("Could not opendir", $ufs) if (!$rc);
23 while($file = readdir(UFS)) {
24 next if ($file eq ".");
25 next if ($file eq "..");
26 next if ($file eq "fsck");
27 next if (-e "$afs/$file");
28 &Symlink("$ufs/$file", "$afs/$file"); };