Z
Z
zeuss562017-03-27 21:00:02
linux
zeuss56, 2017-03-27 21:00:02

Why does a smartphone and a PC behave differently during an emergency power outage?

Why, in case of an emergency shutdown (battery removal) of a mobile device with almost any OS (Android on Linux, WP from MS, forget about Simba), the device does not require data recovery, and in case of an emergency shutdown of the PC, Windows starts the recovery tool, and Linux helplessly gives a partition error?
This is very disturbing due to frequent power outages in my neighborhood. I have no right to file a complaint as a minor, and if they turn it off, then it’s necessary. I also have no opportunity to buy a network battery (it is called differently).
So what is so fundamentally different between these devices and their ways of using persistent memory?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Aleksandrov, 2017-03-27
@zeuss56

It's all about the computer's HDD\SSD and the fact that an adult OS, when turned on, looks at whether the previous shutdown was correct. Suddenly, the system abruptly cut off due to a crooked driver, suddenly it went out during the next update, and a very important standard program without which normal operation was impossible was beaten or, say, some new device was connected that caused a failure.
An important role is also played by the fact that on mobile devices the section where the system is installed is always in read-only mode, so it’s almost impossible to beat the OS itself (we don’t count crooked hands with root) and naturally it makes little sense to panic the OS due to incorrect shutdown. Another thing is that if a user on a mobile phone still got in and edited the system files, then he can get a full brick because he could touch the loader (like a BIOS on a PC), but on a PC, the bios is usually (very many motherboards have 2 chips at once) it is almost impossible to kill then on a mobile phone after his killer, you can most often restore it only with special equipment or a bunch of shamanism with a tambourine, hoping that the manufacturer has provided a backup hole for recovery.
In general, it is very incorrect to compare the behavior of mobile operating systems that run on a flash drive in ROM and a PC where you are free to everything and naturally measures are needed to protect you from shooting yourself in the foot.

D
Dark Hole, 2017-03-27
@abyrkov

In your example, nothing. It's just that mobile applications ignore incorrect termination and that's it.
Unless Linux is annoying, but without knowing the error, you can only guess what is wrong with you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question