Re: Getting filename from inode # in 'C'

From: Tony Lawrence (foo_at_pcunix.com)
Date: 03/23/05


Date: Wed, 23 Mar 2005 16:26:53 -0500

Murray Hooper wrote:
> I am working on a project on OpenServer 5 that I need to get a filename
> (text) back when given an inode #?
> any advice on what functions to investigate?
> thank you
> murray
>
>

find / -inum 1234

but you need to restrict that to the filesystem that has the one you are
looking for..

-- 
Unix/Linux/Mac OS X  resources: http://aplawrence.com


Relevant Pages

  • Re: Getting filename from inode # in C
    ... > Murray Hooper wrote: ... >> I am working on a project on OpenServer 5 that I need to get a filename ... >> any advice on what functions to investigate? ...
    (comp.unix.sco.misc)
  • Getting filename from inode # in C
    ... I am working on a project on OpenServer 5 that I need to get a filename ... back when given an inode #? ... any advice on what functions to investigate? ...
    (comp.unix.sco.misc)