Author: ian
Date: Fri Sep 29 22:21:42 2017
New Revision: 324108
URL: https://svnweb.freebsd.org/changeset/base/324108

Log:
  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().

Modified:
  head/etc/rc.initdiskless

Modified: head/etc/rc.initdiskless
==============================================================================
--- head/etc/rc.initdiskless    Fri Sep 29 22:13:26 2017        (r324107)
+++ head/etc/rc.initdiskless    Fri Sep 29 22:21:42 2017        (r324108)
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to