看板 DFBSD_commit 關於我們 聯絡資訊
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