head	1.1;
branch	1.1.1;
access;
symbols
	openafs_debian_version_1_0-1:1.1.1.1
	openafs_upstream_version_1_0:1.1.1.1
	source-dist:1.1.1;
locks; strict;
comment	@# @;
expand	@o@;


1.1
date	2000.11.02.03.35.34;	author hartmans;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.02.03.35.34;	author hartmans;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#
# vfsck
#
# An InstallGuide for installing the AFS aware file system checker
# For Sun systems running Solaris 2.6
#

sub vfsck {
my($ufs, , $afs, $file);
$ufs = "/usr/lib/fs/ufs";
$afs = "/usr/lib/fs/afs";

&CreateDir($afs);
&Copy("root.server/etc/vfsck",  "$afs/fsck");

&ErrorsAreFatal(1);
$rc = opendir(UFS, $ufs);
&ErrorMsg("Could not opendir", $ufs) if (!$rc);
while($file = readdir(UFS)) {
  next if ($file eq ".");
  next if ($file eq "..");
  next if ($file eq "fsck");
  next if (-e "$afs/$file");
  &Symlink("$ufs/$file", "$afs/$file"); };
&ErrorsAreFatal(0);
closedir(UFS);
}

@


1.1.1.1
log
@Initial Import. 
@
text
@@
