Re: how can i get hold of a file inode ?

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Tue Jul 25 2000 - 06:44:50 EST


Insufficient info.
                Roger.

BenHanokh Gabriel wrote:
> hi
>
> how can i get pointer to a file inode ?
>
> should i use namei or that it is better to have a user-space app opening
> the file and passing me the fd( using ioctl ) ?
>
> i saw that kernel code like sys_read is calling fget with the user space
> fd, but i couldn't link with fget
>
> please CC me for answers as i'm not register to the mailing list
>
> THX
> /gabi
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
*       Common sense is the collection of                                *
******  prejudices acquired by age eighteen.   -- Albert Einstein ********

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:18 EST