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:
Wes Peters 2003-11-23 08:29:01 +00:00
parent 1f831750b5
commit f44ec7f89e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122961

View File

@ -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;
/*