freebsd-skq/sys/fs/devfs
brian 18d829816a Support /dev/tun cloning. Ansify if_tun.c while I'm there.
Only tun0 -> tun32767 may now be opened as struct ifnet's if_unit
is a short.

It's now possible to open /dev/tun and get a handle back for an available
tun device (use devname to find out what you got).

The implementation uses rman by popular demand (and against my judgement)
to track opened devices and uses the new dev_depends() to ensure that
all make_dev()d devices go away before the module is unloaded.

Reviewed by:	phk
2001-06-01 15:51:10 +00:00
..
devfs_devs.c Create a general facility for making dev_t's depend on another 2001-05-26 08:27:58 +00:00
devfs_vfsops.c Change the second argument of vflush() to an integer that specifies 2001-05-16 18:04:37 +00:00
devfs_vnops.c Support /dev/tun cloning. Ansify if_tun.c while I'm there. 2001-06-01 15:51:10 +00:00
devfs.h Change the way deletes are managed in DEVFS. 2001-05-23 17:48:20 +00:00