:: [DNG] What to do with an inode?
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Hendrik Boom
Date:  
À: dng
Anciens-sujets: Re: [DNG] Help needed:[Fwd: eudev: Methods to detect if running in a container.]
Sujet: [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