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

git: vn - enable autocloning


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Aug 2009 13:17:21 -0700 (PDT)

commit cc80c90e342f184b14fd33410fe9c1f5c83744e8
Author: Alex Hornung <ahornung@gmail.com>
Date:   Mon Aug 31 19:18:32 2009 +0100

    vn - enable autocloning
    
    * Create /dev/vn as autoclone device, but keep precreating 4
      vn devices (vn0 .. vn3).
    
    * When "vn" is specified to vnconfig instead of "vnXX", the vn
      device is cloned and the name of the new device is printed
      on screen in a message of the form:
      "Using: vn6".
    
    * On detach of the vn device (vnconfig -u) the cloned device is
      destroyed. This only happens for cloned vn devices (vn4 ..vnX).

Summary of changes:
 sys/dev/disk/vn/vn.c         |   93 +++++++++++++++++++++---------------------
 usr.sbin/vnconfig/vnconfig.c |    3 +
 2 files changed, 50 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cc80c90e342f184b14fd33410fe9c1f5c83744e8


-- 
DragonFly BSD source repository



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