From linux-xfs Mon Feb 02 23:54:20 2004 From: Chris Wedgwood Date: Mon, 02 Feb 2004 23:54:20 +0000 To: linux-xfs Subject: Re: Dmapi questions Message-Id: <20040202235420.GD493 () dingdong ! cryptoapps ! com> X-MARC-Message: https://marc.info/?l=linux-xfs&m=107576609715652 On Mon, Feb 02, 2004 at 10:15:56AM -0600, Dean Roehrich wrote: > You won't like it. Unix-based filesystems don't provide anything > special for translating an inode into a filename; you just have to > search the filesystem for the inode--and then you know the filename. Under Linux you could walk the dentries and get a usable path at the VFS layer. There is already code that does this. In fact, I was considering various ways to do something like dnotify that would give full path information via a magic network socket or something (exactly how it should work is still unclear to me, different permissions along the path might mean you aren't entitled to events you would otherwise get). --cw