1

How do I modify a file/directory given their inode numbers?

Those inodes do not appear on a mounted filesystem as traversable directories / readable files and as such are undiscoverable by find utility. fsck is helpless. Even debugfs has a hard time dealing with them.

Normally inodes appear similar to this:

debugfs:  ncheck 10622537
Inode   Pathname
10622537        /lost+found/#10622537

But a divine intervention system fault awarded me with these two:

debugfs:  ncheck 10622530 10496145
Inode   Pathname
10622530        .../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../42120/47954
10496145        .../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../42120

Most desired is to move (attach) both to lost+found to inspect the contents.

2
  • A colleague of mine named this 'ladders to heavens'.
    – PF4Public
    Commented Nov 27, 2017 at 18:09
  • Note also how parent and child number of double-dots differ by one.
    – PF4Public
    Commented Nov 27, 2017 at 18:11

0

You must log in to answer this question.

Browse other questions tagged .