mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
rc.initdiskless: Disable soft-updates in mdmfs (again)
Re-apply the -S switch to disable soft-updates in memory disks (commit
8b1292ac52). This might be beneficial when tmpfs(5) is not present in
the kernel, as this can cause mdmfs(8)'s auto keyword to fallback to
using md(4).
PR: 85558
MFC after: 1 week
Reviewed by: imp, emaste, brooks
Differential Revision: https://reviews.freebsd.org/D43242
This commit is contained in:
parent
f54495100f
commit
bb4116576f
1 changed files with 2 additions and 2 deletions
|
|
@ -208,9 +208,9 @@ handle_remount() { # $1 = mount point
|
|||
# $1 is size in 512-byte sectors, $2 is the mount point.
|
||||
mount_md() {
|
||||
if [ ${o_verbose} -gt 0 ] ; then
|
||||
/sbin/mdmfs -XL -s $1 auto $2
|
||||
/sbin/mdmfs -XL -S -s $1 auto $2
|
||||
else
|
||||
/sbin/mdmfs -s $1 auto $2
|
||||
/sbin/mdmfs -S -s $1 auto $2
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue