Make mdmfs verbose if diskless boot is verbose.

Approved by:	ian@
Differential Revision:	D17104
This commit is contained in:
Lev A. Serebryakov 2019-04-26 14:44:50 +00:00
parent c1ffbf2da0
commit 26e8ed624e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346749

View File

@ -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