Don't allow the alternate superblock block number for one file system
to apply to others (except when it is given on the command line).
This commit is contained in:
parent
bfcc2332b7
commit
d5e93687ca
@ -124,9 +124,11 @@ setup(dev)
|
||||
"LOCATION OF AN ALTERNATE",
|
||||
"SUPER-BLOCK TO SUPPLY NEEDED",
|
||||
"INFORMATION; SEE fsck(8).");
|
||||
bflag = 0;
|
||||
return(0);
|
||||
}
|
||||
pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
|
||||
bflag = 0;
|
||||
}
|
||||
maxfsblock = sblock.fs_size;
|
||||
maxino = sblock.fs_ncg * sblock.fs_ipg;
|
||||
|
@ -124,9 +124,11 @@ setup(dev)
|
||||
"LOCATION OF AN ALTERNATE",
|
||||
"SUPER-BLOCK TO SUPPLY NEEDED",
|
||||
"INFORMATION; SEE fsck(8).");
|
||||
bflag = 0;
|
||||
return(0);
|
||||
}
|
||||
pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
|
||||
bflag = 0;
|
||||
}
|
||||
maxfsblock = sblock.fs_size;
|
||||
maxino = sblock.fs_ncg * sblock.fs_ipg;
|
||||
|
@ -124,9 +124,11 @@ setup(dev)
|
||||
"LOCATION OF AN ALTERNATE",
|
||||
"SUPER-BLOCK TO SUPPLY NEEDED",
|
||||
"INFORMATION; SEE fsck(8).");
|
||||
bflag = 0;
|
||||
return(0);
|
||||
}
|
||||
pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
|
||||
bflag = 0;
|
||||
}
|
||||
maxfsblock = sblock.fs_size;
|
||||
maxino = sblock.fs_ncg * sblock.fs_ipg;
|
||||
|
Loading…
Reference in New Issue
Block a user