Recover file using debugfs

  • Hi,
    Is it possible to recover any file deleted using debugfs?
    Let's take an example with test.pdf stored in ~/Documents.
    This is what I tried (without success):

    • "df" to get the userdata filsystem : /dev/disk/by-partlabel/userdata
    • sudo debugfs -w /dev/disk/by-partlabel/userdata
      -> at the debugfs prompt : lsdel
      -> as a result : 0 deleted inodes found
      Did I missed something or the file is definitely lost?
      Thanks in advance for help 😉

Log in to reply