Deleted Added
full compact
setup.c (1558) setup.c (6280)
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 110 unchanged lines hidden (view full) ---

119 if (cg >= proto.fs_ncg) {
120 printf("%s %s\n%s %s\n%s %s\n",
121 "SEARCH FOR ALTERNATE SUPER-BLOCK",
122 "FAILED. YOU MUST USE THE",
123 "-b OPTION TO FSCK TO SPECIFY THE",
124 "LOCATION OF AN ALTERNATE",
125 "SUPER-BLOCK TO SUPPLY NEEDED",
126 "INFORMATION; SEE fsck(8).");
1/*
2 * Copyright (c) 1980, 1986, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 110 unchanged lines hidden (view full) ---

119 if (cg >= proto.fs_ncg) {
120 printf("%s %s\n%s %s\n%s %s\n",
121 "SEARCH FOR ALTERNATE SUPER-BLOCK",
122 "FAILED. YOU MUST USE THE",
123 "-b OPTION TO FSCK TO SPECIFY THE",
124 "LOCATION OF AN ALTERNATE",
125 "SUPER-BLOCK TO SUPPLY NEEDED",
126 "INFORMATION; SEE fsck(8).");
127 bflag = 0;
127 return(0);
128 }
129 pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
128 return(0);
129 }
130 pwarn("USING ALTERNATE SUPERBLOCK AT %d\n", bflag);
131 bflag = 0;
130 }
131 maxfsblock = sblock.fs_size;
132 maxino = sblock.fs_ncg * sblock.fs_ipg;
133 /*
134 * Check and potentially fix certain fields in the super block.
135 */
136 if (sblock.fs_optim != FS_OPTTIME && sblock.fs_optim != FS_OPTSPACE) {
137 pfatal("UNDEFINED OPTIMIZATION IN SUPERBLOCK");

--- 329 unchanged lines hidden ---
132 }
133 maxfsblock = sblock.fs_size;
134 maxino = sblock.fs_ncg * sblock.fs_ipg;
135 /*
136 * Check and potentially fix certain fields in the super block.
137 */
138 if (sblock.fs_optim != FS_OPTTIME && sblock.fs_optim != FS_OPTSPACE) {
139 pfatal("UNDEFINED OPTIMIZATION IN SUPERBLOCK");

--- 329 unchanged lines hidden ---