Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2011 10:13:21 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        perryh@pluto.rain.com
Cc:        iwc2010005@gmail.com, freebsd-net@freebsd.org, jhell@DataIX.net
Subject:   Re: Can we do perform a C style file Read/Write from within a ARP module
Message-ID:  <1274472810.645142.1324998801469.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <4ef9c41f.rC8YkQQx738CJ3EN%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
perryh wrote:
> Jason Hellenthal <jhell@DataIX.net> wrote:
> >
> > See siftr(4). This module writes to a file.
> 
> Is siftr(4) new since 8.1?
> 
> $ man siftr
> No manual entry for siftr
> $ cd /usr/ports
> $ ls -d */*siftr*
> ls: */*siftr*: No such file or directory
> 
You can look at:
  http://people.freebsd.org/~rmacklem/nfs_clpackrat.c

I won't say it is the best or even a good way to do it, but
this code reads/writes files directly in the kernel.

rick




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