Date: Fri, 26 Apr 2019 14:44:51 +0000 (UTC) From: "Lev A. Serebryakov" <lev@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r346749 - head/libexec/rc Message-ID: <201904261444.x3QEipja028728@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904261444.x3QEipja028728>