Subject: Re: Why disk capacity check for the directory where accounting file is on is done in kernel rather that userland?
To: None <tech-kern@NetBSD.ORG>
From: Christos Zoulas <christos@nyc.deshaw.com>
List: tech-kern
Date: 06/15/1997 17:00:26
In article <87afkrgbor.fsf@plants-doll.enami.ba2.so-net.or.jp> enami@ba2.so-net.or.jp (enami tsugutomo) writes:
>As described in my PR kern/3721, accounting file can't be on nfs,
>since kernel checks disk capacity during interrupt time.

Maybe proc0 could used in that case?

>Why this check is done in kernel rather than userland?  (to get higher
>priority than any userland process?)  And what is ``the own problem''
>mentioned in the comment of kern_acct.c when recording accounting
>information like klog?

Problems like buffering when the user space reader dies, or resynchronization
of the data.

christos