Tracing files accessed by a process

Stanislav Sedov stas at 310.ru
Tue May 17 18:28:39 GMT 2005


On Tue, May 17, 2005 at 09:21:05AM -0700, Stephan Wehner wrote:
> Hi there,
> 
> I want to set up a jail and only include those files that are required.
> 
> What would be the recommended way to obtain the list of files that a
> process has accessed, from start to finish?
> 
> Stephan
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
> 
> 
> 
> 
You can use ktrace program and then analyze it output (open(2) calls).


More information about the freebsd-fs mailing list