Backed out previous commit. It broke fsck again. See rev.1.22 and the
references there, and rev.1.38 of sys/ufs/ufs/ufs_disksubr.c.
This commit is contained in:
parent
e36b4f594a
commit
8116455e9d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40470
@ -42,7 +42,7 @@ static const char copyright[] =
|
|||||||
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
|
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id: newfs.c,v 1.25 1998/09/30 07:53:52 grog Exp $";
|
"$Id: newfs.c,v 1.26 1998/10/17 04:19:29 jkh Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -601,10 +601,8 @@ main(argc, argv)
|
|||||||
if (realsectorsize != DEV_BSIZE)
|
if (realsectorsize != DEV_BSIZE)
|
||||||
pp->p_size /= realsectorsize /DEV_BSIZE;
|
pp->p_size /= realsectorsize /DEV_BSIZE;
|
||||||
#endif
|
#endif
|
||||||
#if 0 /* XXX this shouldn't fail, but it returns ENXDEV right now - pure workaround, this */
|
|
||||||
if (!Nflag && bcmp(pp, &oldpartition, sizeof(oldpartition)))
|
if (!Nflag && bcmp(pp, &oldpartition, sizeof(oldpartition)))
|
||||||
rewritelabel(special, fso, lp);
|
rewritelabel(special, fso, lp);
|
||||||
#endif
|
|
||||||
if (!Nflag)
|
if (!Nflag)
|
||||||
close(fso);
|
close(fso);
|
||||||
close(fsi);
|
close(fsi);
|
||||||
|
Loading…
Reference in New Issue
Block a user