I would assume you can use kernel debugfs for this.

On Mar 2, 6:28 am, perumal316 <[email protected]> wrote:
> Hi,
>
> I am writing a kernel module which does logging. Currently I am
> writing the messages to a textfile. But I don't want this file to
> become too big.
>
> Is there any way I can specify to delete the file if it exceeds a
> certain size or write to a new file through kernel module?
>
> Thanks In Advance,
> Perumal

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to