mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 10:42:45 +00:00
Remove spurious $flags; it's a paste-o from copying the line from rc.subr.
Also, add a comment documenting the args passed to mount_md().
This commit is contained in:
parent
50e3590c44
commit
e8b437ef9a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324108
@ -197,8 +197,9 @@ handle_remount() { # $1 = mount point
|
||||
|
||||
# Create a generic memory disk.
|
||||
# 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 $flags -s $1 auto $2
|
||||
/sbin/mdmfs -s $1 auto $2
|
||||
}
|
||||
|
||||
# Create the memory filesystem if it has not already been created
|
||||
|
Loading…
Reference in New Issue
Block a user