diff options
author | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
commit | 60d3abc6ecdc21b4ab921d34a55b4af48690f55a (patch) | |
tree | 1ee530dd7367d743fb619f341100e41df22e1985 /content/blog/miscellaneous/link-deleted-inode.md | |
parent | Updated docsy theme (diff) | |
download | www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.gz www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.bz2 www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.zip |
Rewrote the whole website to get rid on a heavy theme
Diffstat (limited to 'content/blog/miscellaneous/link-deleted-inode.md')
-rw-r--r-- | content/blog/miscellaneous/link-deleted-inode.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/content/blog/miscellaneous/link-deleted-inode.md b/content/blog/miscellaneous/link-deleted-inode.md new file mode 100644 index 0000000..45f0417 --- /dev/null +++ b/content/blog/miscellaneous/link-deleted-inode.md @@ -0,0 +1,10 @@ +--- +title: "Link to a deleted inode" +linkTitle: "Link to a deleted inode" +date: 2018-03-05 +description: > + Link to a deleted inode +--- + +Get the inode number from `lsof`, then run `debugfs -w /dev/mapper/vg-home -R 'link <16008> /some/path'` where 16008 is the inode number (the < > are important, they tell debugfs you manipulate an inode). The path is relative to the root of the block device you are restoring onto. + |