Huh, I didn't know debugfs can operate on a mounted filesystem. Sounds incredibly dangerous...
debugfs(8) manpage says that ln "does not adjust the inode reference counts". Is there a way to increase that number?
debugfs(8) manpage says that ln "does not adjust the inode reference counts". Is there a way to increase that number?
set_inode_field foo links_count 1I've never used it, but it appears to operate in read-only mode by default[0]:
> -w
> Specifies that the file system should be opened in read-write mode. Without this option, the file system is opened in read-only mode.