Raspberry Pi runs on Linux and the filesystem is prone to corruption when power is abruptly removed or improperly shutdown. Sometimes, users are just impatient to wait for proper shutdown to be completed. When corruption happens, RPi may even have problem booting up. How can one prevent filesystem on the SDcard?
Asked
Active
Viewed 47 times
0
sudo shutdown -h -P now
should be the command burnt into your sub-concious (sudo sync
may ameliorate the damage - shutdown does this as part of its work) but you wouldn't walk out of your house without shutting the door (sync) or properly locking it (shutdown) and expecting everything (data and the filesystem) to be intact and where you left it, at least when you get back! If you're lucky the wind will have got in and blown stuff around and you can put everything back (fsck) but in reality graffiti and damage (data-corruption) and theft (data-loss) are not that surprising. – SlySven Dec 14 '15 at 21:23