static daddr_t badblk;
static daddr_t dupblk;
int pass1check();
-
+static int oldreported;
+
pass1()
{
register int c, i, j;
#if defined(AFS_SUN56_ENV)
if ( OLDVICEINODE )
{
- /* This looks like a sol 2.5 AFS inode */
- printf("This vicep partition seems to contain pre Sol2.6 AFS inodes\n");
- printf("You should run the AFS file conversion utility before installing Sol 2.6\n");
- exit(100); /* unique return code? */
+ if (yflag) {
+ if (!oldreported) {
+ printf("This vicep partition seems to contain pre Sol2.6 AFS inodes\n");
+ printf("You should run the AFS file conversion utility before installing Sol 2.6\n");
+ printf("Continuing anyway.\n");
+ oldreported++;
+ }
+ } else {
+ /* This looks like a sol 2.5 AFS inode */
+ printf("This vicep partition seems to contain pre Sol2.6 AFS inodes\n");
+ printf("You should run the AFS file conversion utility before installing Sol 2.6\n");
+ exit(100); /* unique return code? */
+ }
}
#endif
statemap[inumber] =