[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1P9Iy2-0001mY-UA@be1.7eggert.dyndns.org>
Date: Fri, 22 Oct 2010 16:51:37 +0200
From: Bodo Eggert <7eggert@....de>
To: Artur Baruchi <mail.baruchi@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: Mapping Inode to File
Artur Baruchi <mail.baruchi@...il.com> wrote:
> Hi Guys.
>
> Is there a way to map an Inode number to a File (file path and name)
> in a kernel module ?
Imagine this:
ln /foo/bar/baz /bar/baz/foo
sleep 2147483647 < /foo/bar/baz &
pivot_root /mnt /mnt/asd
chroot /mnt/asd/foo
What is the name you'd assign to that inode?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists