Accessing filesystem from a KLD
M. Warner Losh
imp at bsdimp.com
Sat Jun 25 17:59:05 GMT 2005
In message: <42F160E7-9B19-4A8A-8656-A86E0076EBB3 at FreeBSD.org>
Suleiman Souhlal <ssouhlal at freebsd.org> writes:
: You can use vn_open() to open the file, and then read it using vn_rdwr
: (), and finally, vn_close() to close it. Look at src/sys/kern/
: link_elf_obj.c for an example.
There's also a desire to provide an easier to use interface for
drivers to load, for example, firmware.
Warner
More information about the freebsd-hackers
mailing list