mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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.
This commit is contained in:
parent
24fbeaf9c3
commit
1fb6584d21
2 changed files with 4 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue