svn commit: r346749 - head/libexec/rc
Lev A. Serebryakov
lev at FreeBSD.org
Fri Apr 26 14:44:51 UTC 2019
Author: lev (ports committer)
Date: Fri Apr 26 14:44:50 2019
New Revision: 346749
URL: https://svnweb.freebsd.org/changeset/base/346749
Log:
Make mdmfs verbose if diskless boot is verbose.
Approved by: ian@
Differential Revision: D17104
Modified:
head/libexec/rc/rc.initdiskless
Modified: head/libexec/rc/rc.initdiskless
==============================================================================
--- head/libexec/rc/rc.initdiskless Fri Apr 26 14:44:46 2019 (r346748)
+++ head/libexec/rc/rc.initdiskless Fri Apr 26 14:44:50 2019 (r346749)
@@ -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
More information about the svn-src-head
mailing list