Re: Mapping Inode to File

From: Greg KH
Date: Fri Oct 22 2010 - 13:01:05 EST



A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top

On Fri, Oct 22, 2010 at 02:09:44PM -0200, Artur Baruchi wrote:
> Sorry, didnt understand your point.
>
> Could you please clarify?

The point is that, no, it's not simple to do this at all.

> Note that I need to retrieve the file name in Kernel Space, Im able to
> get the inode, but now I need to convert this inode to a name
> (something that I could use).

How about explaining why you need to get the file name from within the
kernel? Perhaps there's a better way to do what you are trying to
accomplish.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/