Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 18:04:09 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        "Gary T. Corcoran" <gcorcoran@lucent.com>, freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: Module parameters?  (WildWire DSL card driver)
Message-ID:  <20001016180409.C272@fw.wintelcom.net>
In-Reply-To: <200010170053.RAA04059@usr05.primenet.com>; from tlambert@primenet.com on Tue, Oct 17, 2000 at 12:53:15AM %2B0000
References:  <39E7AB10.EADBB53B@lucent.com> <200010170053.RAA04059@usr05.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Terry Lambert <tlambert@primenet.com> [001016 17:55] wrote:
> 
> Alternately, if the problem is lack of reference counting on
> FreeBSD's part, and you therefore can't do the job on the
> open, since you can't track closes aws they happen, only the
> last clse, there are a couple of approaches:

FreeBSD has had that capability for over a year now.

/*
 * Flags for d_flags.
 */
#define	D_MEMDISK	0x10000		/* memory type disk */
#define	D_NAGGED	0x20000		/* nagged about missing make_dev() */
#define	D_CANFREE	0x40000		/* can free blocks */
#define	D_TRACKCLOSE	0x80000		/* track all closes */

(from sys/conf.h)

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001016180409.C272>