Writing a plain text file to disk from kernel space
Joseph Koshy
joseph.koshy at gmail.com
Mon May 21 11:06:46 UTC 2007
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
More information about the freebsd-hackers
mailing list