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 ;-)
      Cheers,
      W.

Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.