diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-11-25 17:12:11 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-11-25 17:12:11 +0000 |
commit | 174d29eb64eaaafcc08bf18502b3e72c8afffedc (patch) | |
tree | d149a851f3e6dccd269ad792269b43ae91294f82 /sbin/newfs | |
parent | 2d0e820796befd94f0c4202222aaea792992f9c5 (diff) |
Remove (unused) FS_BOOT training wheels. If you are allowed to newfs a
partition, you obviously know what you are doing. Even (especially?)
if the new file system will be ffs or ext2fs.
ok deraadt@ as part of larger diff
Diffstat (limited to 'sbin/newfs')
-rw-r--r-- | sbin/newfs/newfs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index dd541a79174..349e669a295 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs.c,v 1.110 2018/03/10 07:55:49 otto Exp $ */ +/* $OpenBSD: newfs.c,v 1.111 2018/11/25 17:12:10 krw Exp $ */ /* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */ /* @@ -443,9 +443,6 @@ main(int argc, char *argv[]) if (DL_GETPSIZE(pp) == 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); } havelabel: if (sectorsize == 0) { |