git: Use pseudo-device to specify number of precreated devs

Alex Hornung alexh at crater.dragonflybsd.org
Tue Sep 1 03:21:51 PDT 2009


commit 95db3aac46e4848403464168e363dfc738549735
Author: Alex Hornung <ahornung at gmail.com>
Date:   Tue Sep 1 07:55:15 2009 +0100

    Use pseudo-device to specify number of precreated devs
    
    * use pseudo-device <dev> <n> in the kernel config to specify
      the number of devices to precreate (<n>) for snp, tun, vn, bpf.
    
    * The full rationale (for vn, snp, bpf and tun) is:
      - if NO pseudo-device foo is specified, 4 devices will be
        precreated.
      - if pseudo-device foo is specified, 4 devices will be
        precreated.
      - if pseudo-device foo N, where N > 1 is specified, N devices
        will be precreated.

Summary of changes:
 sys/dev/disk/vn/vn.c   |    6 ++++++
 sys/dev/misc/snp/snp.c |    6 ++++++
 sys/net/bpf.c          |    5 +++++
 sys/net/tun/if_tun.c   |    6 ++++++
 4 files changed, 23 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95db3aac46e4848403464168e363dfc738549735


-- 
DragonFly BSD source repository





More information about the Commits mailing list