summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/label.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-12-28 23:33:09 +0000
committerrwatson <rwatson@FreeBSD.org>2002-12-28 23:33:09 +0000
commitca398224eeb408e74dcfc9b232bd779e10db5d42 (patch)
treec1c98bb47513699a3a8d52d913ac29a9067e0ff8 /usr.sbin/sade/label.c
parent3a802b19f9c1ac9a7de0b75a33b07e2758b46801 (diff)
downloadFreeBSD-src-ca398224eeb408e74dcfc9b232bd779e10db5d42.zip
FreeBSD-src-ca398224eeb408e74dcfc9b232bd779e10db5d42.tar.gz
Since our default boot block now supports UFS1 and UFS2 even on
i386, remove the seatbelt preventing users from setting the UFS2 flag on the root file system on i386. This seatbelt did not exist on other platforms. MFC candidate.
Diffstat (limited to 'usr.sbin/sade/label.c')
-rw-r--r--usr.sbin/sade/label.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 6ef1526..305eaad 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -879,13 +879,8 @@ diskLabel(Device *dev)
if ((pi != NULL) &&
(pi->newfs_type == NEWFS_UFS)) {
-#ifdef __i386__
- if (label_chunk_info[here].c->flags & CHUNK_IS_ROOT)
- msg = MSG_NOT_APPLICABLE;
- else
-#endif
- pi->newfs_data.newfs_ufs.ufs2 =
- !pi->newfs_data.newfs_ufs.ufs2;
+ pi->newfs_data.newfs_ufs.ufs2 =
+ !pi->newfs_data.newfs_ufs.ufs2;
} else
msg = MSG_NOT_APPLICABLE;
} else
OpenPOWER on IntegriCloud