aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2019-04-26 14:44:50 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2019-04-26 14:44:50 +0000
commit26e8ed624e352cef3f1ece73296c7c00fa6c7780 (patch)
tree14cb0b0be0464816fa4f667b9b91d85360ca4271 /libexec/rc
parentc1ffbf2da0916f9f686d0e0581c3de1a37673c71 (diff)
Notes
Diffstat (limited to 'libexec/rc')
-rw-r--r--libexec/rc/rc.initdiskless6
1 files changed, 5 insertions, 1 deletions
diff --git a/libexec/rc/rc.initdiskless b/libexec/rc/rc.initdiskless
index 172f419d945f7..60cfa8b174f8e 100644
--- a/libexec/rc/rc.initdiskless
+++ b/libexec/rc/rc.initdiskless
@@ -208,7 +208,11 @@ handle_remount() { # $1 = mount point
# The 'auto' parameter will attempt to use tmpfs(5), falls back to md(4).
# $1 is size in 512-byte sectors, $2 is the mount point.
mount_md() {
- /sbin/mdmfs -s $1 auto $2
+ if [ ${o_verbose} -gt 0 ] ; then
+ /sbin/mdmfs -XL -s $1 auto $2
+ else
+ /sbin/mdmfs -s $1 auto $2
+ fi
}
# Create the memory filesystem if it has not already been created