Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 11:06:45 +0000
From:      "Joseph Koshy" <joseph.koshy@gmail.com>
To:        "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" <des@des.no>
Cc:        Lawrence Stewart <lstewart@room52.net>, freebsd-hackers@freebsd.org
Subject:   Re: Writing a plain text file to disk from kernel space
Message-ID:  <84dead720705210406s79da5cf7t753394d9374fd3f2@mail.gmail.com>
In-Reply-To: <86646ugywf.fsf@dwp.des.no>
References:  <4649349D.4060101@room52.net> <86646ugywf.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
ls> So, I'm looking for a way to manually open up a file from within
ls> kernel space and dump characters into it.

des> Note that it opens the file in userland and passes it down to the
des> kernel.  You may want to consider a similar mechanism.

hwpmc(4) takes a similar approach, using a dedicated kthread to
to perform writes.

-- 
FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy



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