Oops, I forgot to copy the list.

Martin.

On Sun, 2008-01-06 at 18:22 +0100, Martin Carpenter wrote:
> On Fri, 2008-01-04 at 10:15 -0800, Mike Shapiro wrote:
> > As one example if you look at ufs_getattr(), you will see that you
> > can do a relatively straightforward conversion from f_vnode to the
> > ufs inode structure, and from there get at i_uid, i_gid, i_mode, etc.
> 
> Thanks for that rapid and pedagogic response - that just enough to get
> me out of my rut. Fortunately I'm on UFS, so this:
> 
>   inode =
>     (struct inode
> *)curthread->t_procp->p_user.u_finfo.fi_list[arg1].uf_file->f_vnode->v_data;
>   printf("%-5d", inode->i_ic.ic_uid);
> 
> was all I needed.
> 
> Thanks again.
> 
> Martin.
> 
> 

_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to