• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Cannot delete non-empty directory

Me_Droid_Freak

Daryl Bowman
I am trying to delete "/data/lost+found" All but one folder deleted just fine...all but #9616. It says it cannot be deleted because "Directory not empty". I've tried "rm -rf /data/lost+found" using adb, [which was the "fix all"] but I get the same error. Does anyone have any ideas??
 
I don't think it is suppose to be removed. If it happens to get removed, the system will probably re-create it. At least on Linux OS it works like this.
 
Well I was told that was a way to get Android to recognize that my microSD is NOT full. I still have three GB free, but it thinks that it only has 12MB...
 
I would worry about why you have anything at all in lost+found - it only contains stuff that was recovered when a scan reveals errors in the filesystem structure and fixes them. This usually leaves orphaned files (directories are files too) that get saved to lost+found.

I'd back up and reformat the microSD card... just in case.
 
Back
Top Bottom