mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Make mdmfs verbose if diskless boot is verbose.
Approved by: ian@ Differential Revision: D17104
This commit is contained in:
parent
c1ffbf2da0
commit
26e8ed624e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346749
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user