Answer the question
In order to leave comments, you need to log in
LUKS. After updating the files in a folder, the updated files break. How to fix?
Hello.
I have a 16 GB flash drive. Formatted to FAT32.
I often update files there, but they break. It looks like they are encrypted but not decrypted.
I open and replace files like this:
cryptsetup open /dev/sdb vault
mount /dev/mapper/vault flash/
cd flash
ls
file file file Folder file
file file
ls Folder
file file file file
cp -rf /home/user/Folder ./
umount flash
mount /dev/mapper/vault flash
ls: cannot access ''$'\a''╧¡r'$'\b''7{┌.╠├y': Input/output error
ls: cannot access ')'$'\017''_═u¡VP.═pk': Input/output error
ls: cannot access ''$'\002''|¬3┤╖k▐.'$'\022\n\v': Input/output error
ls: cannot access 'τ√ië┤ä∙┤.u∩╗': Input/output error
ls: cannot access '▐░0B≥ΘAc.<┴σ': Input/output error
ls: reading directory '.': Input/output error
'▐░0B≥ΘAc.<┴σ' '█'$'\021''ey≥¡∙÷.╒LÑ'
''$'\002''|¬3┤╖k▐.'$'\022\n\v' ''$'\a''╧¡r'$'\b''7{┌.╠├y'
''$'\f''∩'$'\b''`┐ ┌╙.5µΦ' ')'$'\017''_═u¡VP.═pk'
',╖'$'\030''\cnö=.╥x≈' τ√ië┤ä∙┤.u∩╗
fsck
, it finds all errors, but eventually deletes a completely corrupted folder with files. Again, files that have been uploaded since formatting are not damaged. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question