git: mount - Generate correct argv[0] for crunches

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 9 18:16:17 PDT 2014


commit 52a811da0940a872d8e3d94b30737348cfe72964
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Apr 9 18:12:43 2014 -0700

    mount - Generate correct argv[0] for crunches
    
    * The crunchgen consolidated binary uses argv[0] to determine which program
      to actually run.  The 'mount' program was putting the vfstype in argv[0]
      instead of "mount_<vfstype>".
    
    * This caused crunchgen to run 'hammer' instead of 'mount_hammer'.
    
    * Fixes installer encrypted installs with hammer roots.

Summary of changes:
 sbin/mount/mount.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/52a811da0940a872d8e3d94b30737348cfe72964


-- 
DragonFly BSD source repository


More information about the Commits mailing list