Re: [DNG] What to do with an inode?

2020-03-31 Thread Didier Kryn
Le 30/03/2020 à 16:33, Hendrik Boom a écrit : On Mon, Mar 30, 2020 at 03:18:45PM +, 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

Re: [DNG] What to do with an inode?

2020-03-30 Thread Bruce Perens via Dng
Many things. An open file descriptor refers to the inode. On Mon, Mar 30, 2020 at 10:18 AM aitor_czr wrote: > Hi, > On 30/3/20 15:46, Simon Hobson wrote: > > Hendrik Boom wrote: > > > On Mon, Mar 30, 2020 at 03:18:45PM +, aitor_czr wrote: > > $ ls --inode --directory "/" > > 2 / > > Is

Re: [DNG] What to do with an inode?

2020-03-30 Thread aitor_czr
Hi, On 30/3/20 15:46, Simon Hobson wrote: Hendrik Boom wrote: On Mon, Mar 30, 2020 at 03:18:45PM +, aitor_czr wrote: $ ls --inode --directory "/" 2 / Is there anything I can do with an inode except check file identity within a filesystem? You can use it as a search condition for find

Re: [DNG] What to do with an inode?

2020-03-30 Thread Simon Hobson
Hendrik Boom wrote: > On Mon, Mar 30, 2020 at 03:18:45PM +, aitor_czr wrote: >> >> $ ls --inode --directory "/" >> >> 2 / > > Is there anything I can do with an inode except check file identity within > a filesystem? You can use it as a search condition for find using '-inum n' Other

[DNG] What to do with an inode?

2020-03-30 Thread Hendrik Boom
On Mon, Mar 30, 2020 at 03:18:45PM +, 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