how can i get hold of a file inode ?

From: BenHanokh Gabriel (gabriel@SANgate.com)
Date: Tue Jul 25 2000 - 02:34:24 EST


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/



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