* Terry Lambert <[EMAIL PROTECTED]> [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 - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to