git: vnconfig - use correct device if using autoclone

Alex Hornung alexh at crater.dragonflybsd.org
Mon Feb 27 08:50:01 PST 2012


commit 49ada555087c11945c2c37feec67c3e305916a85
Author: Alex Hornung <ahornung at gmail.com>
Date:   Mon Feb 27 16:47:56 2012 +0000

    vnconfig - use correct device if using autoclone
    
     * if autoclone device (/dev/vn) is used in vnconfig, the wrong device
       is later passed to, e.g., swapon().
    
     * Fix it by changing the device name the rest of vnconfig
       operates on to the actual device name as per fdevname.
    
    Reported-by: tuxillo

Summary of changes:
 usr.sbin/vnconfig/vnconfig.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/49ada555087c11945c2c37feec67c3e305916a85


-- 
DragonFly BSD source repository





More information about the Commits mailing list