4 ms·
The metadata logging on modern Linux filesystems is designed with the consistency guarantees offered by spinning magnetic storage in mind. SD cards (and SSDs fo
by pja 12y ago
The metadata logging on modern Linux filesystems is designed with the consistency guarantees offered by spinning magnetic storage in mind. SD cards (and SSDs for that matter) are completely different - pull the plug when the card is busy updating its internal block indexes and you’ll corrupt a big chunk of the card & no filesystem level metadata logging is going to prevent that.
If you could use a flash filesystem at the OS level & talk directly to the SDcard flash blocks then you might be able to pull the plug & not risk corrupting an SDcard, but as things currently stand I don’t think that’s possible.