DragonFly BSD
DragonFly commits List (threaded) for 2012-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: vnconfig - use correct device if using autoclone


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Feb 2012 08:50:01 -0800 (PST)

commit 49ada555087c11945c2c37feec67c3e305916a85
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]