summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1f8ef6c)
SCCS-vsn: sbin/newfs/newfs.c 6.33
-static char sccsid[] = "@(#)newfs.c 6.32 (Berkeley) %G%";
+static char sccsid[] = "@(#)newfs.c 6.33 (Berkeley) %G%";
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
if (pp->p_size == 0)
fatal("%s: `%c' partition is unavailable",
argv[0], *cp);
if (pp->p_size == 0)
fatal("%s: `%c' partition is unavailable",
argv[0], *cp);
+ if (pp->p_fstype == FS_BOOT)
+ fatal("%s: `%c' partition overlaps boot program",
+ argv[0], *cp);
}
if (fssize == 0)
fssize = pp->p_size;
}
if (fssize == 0)
fssize = pp->p_size;