Don't use UFS2_BAD_MAGIC on UFS (v1) filesystems; it is Not Ready
for Prime Time there. Submitted by: Xin LI <delphij@frontfree.net> Approved by: RE@ (John, Scott)
This commit is contained in:
parent
1f831750b5
commit
f44ec7f89e
@ -457,7 +457,7 @@ mkfs(struct partition *pp, char *fsys)
|
||||
}
|
||||
if (Eflag == 2)
|
||||
printf("** Leaving BAD MAGIC on Eflag 2\n");
|
||||
else
|
||||
else if( Oflag != 1 )
|
||||
sblock.fs_magic = FS_UFS2_MAGIC;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user