Additional output from dumpfs(8).
Provide an additional line of output for the superblock giving the computed size of the cylinder group (CGSIZE macro) along with the details needed to calculate it. MFC after: 1 week
This commit is contained in:
@@ -245,6 +245,8 @@ dumpfs(const char *name, int dosb)
|
||||
default:
|
||||
goto err;
|
||||
}
|
||||
printf("old_cpg\t%d\tsize_cg\t%jd\tCGSIZE\t%jd\n",
|
||||
afs.fs_old_cpg, sizeof(struct cg), CGSIZE(&afs));
|
||||
printf("sblkno\t%d\tcblkno\t%d\tiblkno\t%d\tdblkno\t%d\n",
|
||||
afs.fs_sblkno, afs.fs_cblkno, afs.fs_iblkno, afs.fs_dblkno);
|
||||
printf("cgrotor\t%d\tfmod\t%d\tronly\t%d\tclean\t%d\n",
|
||||
|
||||
Reference in New Issue
Block a user