iNode files in the “lost+found” directory

April 20, 2016 · 1 min read

Users of Linux/Unix are familiar with the lost+found directory, where the operating system stores content in case of inconsistencies/problems with the file system. For the first time since owning a Macbook I discovered a lost+found on my harddisk. Good news: It was only the remains of the latest MacOS update.

Checking the content of iNodes in the lost+found directory is easy:

  • Open the OS X Terminal
  • List the files in the iNode: xar -tf /lost+found/iNode#######
  • If necessary the files can be extracted from the lost+found iNode: xar -xf /lost+found/iNode#######

Source: How to manage iNode files in the lost+found directory @ MacIssues

#Apple