aboutsummaryrefslogtreecommitdiff
path: root/content/en/blog/miscellaneous/link-deleted-inode.md
blob: 3542cd299281ac8b6ce2e1e0096ef0be9fbadac1 (plain)
1
2
3
4
5
6
7
8
9
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).