Lines 836-841
initcg(int cylno, time_t utime)
Link Here
|
836 |
sblock.fs_sblockactualloc = savedactualloc; |
836 |
sblock.fs_sblockactualloc = savedactualloc; |
837 |
if (cgwrite(&disk) != 0) |
837 |
if (cgwrite(&disk) != 0) |
838 |
err(1, "initcg: cgwrite: %s", disk.d_error); |
838 |
err(1, "initcg: cgwrite: %s", disk.d_error); |
|
|
839 |
printf("Wrote cg %d ckhash 0x%x\n", acg.cg_cgx, acg.cg_ckhash); |
839 |
start = 0; |
840 |
start = 0; |
840 |
dp1 = (struct ufs1_dinode *)(&iobuf[start]); |
841 |
dp1 = (struct ufs1_dinode *)(&iobuf[start]); |
841 |
dp2 = (struct ufs2_dinode *)(&iobuf[start]); |
842 |
dp2 = (struct ufs2_dinode *)(&iobuf[start]); |