How can I treat files with size 0 bytes?

0 like 0 dislike

A USB flash drive (LUKS, Ext4), which has been copied several files and folders. The transfer of data to the drive lasted a few minutes, and during this process, the drive was exported bookmarks from Chromium. After some time it was discovered that some files are empty and have a size of 0 bytes, but all the folders are "empty" files that have the size that they were supposed to have the undamaged files.

Is it possible to restore these files? Thank you!
by | 42 views

2 Answers

0 like 0 dislike
Safely removing(unmounting) invented for wimps.
Highly likely that the files had not yet physically written to the disk because the recording is nasirovna. Ie before you can pull the flash drive have to give the command sync or unmount disk(if unmounting is also happening sync ). Can certainly try to restore the files but I think that the chance is sufficiently small.
0 like 0 dislike

Related questions

0 like 0 dislike
5 answers
0 like 0 dislike
1 answer
asked Apr 24, 2019 by Caspergreen
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
40,796 users