USB flash drive wasn't properly unmounted

Hi all!

I turned off my computer (using shutdown -p NOW) while USB flash card with msdosfs was mounted. Now there is corrupted data on flash card. Some files has names like 2??н<b??.їщш and zero length. Some directories became a files. Name and size of some files looks OK, but files has corrupted data.
WTF? Why didn't our favorite OS umount all mounted fs correctly? What should I do with my data on flash?

I was trying fsck but it didn't help:
Code:
#fsck_msdosfs /media
** /media (NO WRITE)
Invalid signature in boot block: 171f

Thank you for your answers.
 
Don't know if your stick is recoverable, but you certainly don't do it right. (fsck_msdosfs /media)
You are supposed to run fsck on an unmounted filesystem.
 
Speedy,
Tnx for the answer. I was trying that too:
Code:
#fsck /dev/da0
fsck: Could not determine filesystem type
#fsck_msdosfs /dev/da0
** /dev/da0
Invalid sector size: 1766
Don't care about this data too much (but it would be good to recover). It's really sad FreeBSD looks so unreliable with USB stick.
 
"fsck_msdosfs -y /dev/da0s1" made some modifications to fs but date still unavailable, don't see any chages.
 
Back
Top