editing geli code to write something in a file

John-Mark Gurney jmg at funkthat.com
Sat Mar 1 20:00:39 UTC 2014


s m wrote this message on Sat, Mar 01, 2014 at 14:30 +0330:
> for some reason, i want to do some extra process when entered passphrase is
> correct in geli. in order to do that, i edit geli code (g_eli.c file) and
> add my code to g_eli_taste function. every thing is ok except writing some
> thing in a file. i can't use any standard library here. is there any way to
> do that? should i use kernel functions which works with vnode in order to
> do that??? if yes, how should i do it? please give me a point.

asked and answered:
http://docs.freebsd.org/cgi/mid.cgi?4652AD8C.7000605

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-geom mailing list