:: [DNG] What to do with an inode?
Etusivu
Poista viesti
Vastaa
Lähettäjä: Hendrik Boom
Päiväys:  
Vastaanottaja: dng
Vanhat otsikot: Re: [DNG] Help needed:[Fwd: eudev: Methods to detect if running in a container.]
Aihe: [DNG] What to do with an inode?
On Mon, Mar 30, 2020 at 03:18:45PM +0000, aitor_czr wrote:
>
> $ ls --inode --directory "/"
>
> 2 /


Is there anything I can do with an inode except check file identity within
a filesystem?

Can I, for example open a file for reading or writing
or read a directory given the inode number
instead of the full pathname?

I mean, as a programmer in user or superuser mode,
not running my own code inside the kernel.

-- hendrik