6 ms·
Not exactly a cheat. A calculated risk. A friend of mine were having the storage discussion on phones and realized that phones never really experience a 'power
by ChuckMcM 10y ago
Not exactly a cheat. A calculated risk. A friend of mine were having the storage discussion on phones and realized that phones never really experience a 'power outage' in normal use. People use their phones, they get low in power, and then they plug them in. Or the battery gets so low the phone shuts itself off in an orderly manner.
In the 'computer is a phone' perspective there is no sudden power loss unless the user yanks the battery out of the back. That is presumably a rare occurrence for your typical user. As a result, the big risk for phone file systms is that the phone crashes, but nearly every phone I've seen preserves memory contents as long as power is applied, so even a crashed phone, on reboot can pick apart the previous bits in memory and reconstruct what was going on before it crashed.
Given that fairly unique to phone criteria I could see nobarrier as a legit option.
- quotemstr 10y ago> reboot can pick apart the previous bits in memory and reconstruct what was going on before it crashed What you're proposing is possible in theory, but no general purpose operating system I've seen actually attempts to recover page cache state from uncleared RAM upon reboot.
- jrockway 10y agoLinux has PRINTK_PERSIST [1] to recover the printk logs after (warm) reboot. [1] https://lkml.org/lkml/2012/3/13/45 https://lkml.org/lkml/2012/3/13/45
- reitanqild 10y agoSomething related though battery (or capacitor) backed write-cache on high end servers.
- derefr 10y ago> unless the user yanks the battery out of the back. That is presumably a rare occurrence for your typical user. I've witnessed a number of phones with the "crumple zone"-alike feature of effectively ejecting the battery cover + battery out of the phone whenever you drop it.
- ygra 10y agoI would hope dropping a phone is also a rare occurrence for typical phone users. Otherwise they're probably better off getting a Nokia 3210 instead of a smartphone with glass screen.
- iopq 10y ago> I would hope dropping a phone is also a rare occurrence for typical phone users. I drop my phone all the time and I don't have a case. It's fine.
- awjr 10y agoI dropped my phone at the weekend without a case. I now have a shattered screen. :/ It's about the 5th time I've dropped my phone and this is the first time something like this has happened.
- josephg 10y agoApparently the glass in phone screens develops micro fractures from being dropped. (Well, from hitting the ground). You can't see them with the naked eye, but they weaken the glass and they grow with each successive drop. It's probably not just bad luck that the glass happened to break after the Nth time you dropped it. It was bound to happen if you kept dropping the device.
- marvy 10y agoMe too, though the screen did get a small crack once. If there was a 1% chance of file system corruption each time I dropped my phone, it would have happened to me by now, I think. And usually when I drop my phone, the battery comes out. It used to happen only half the time, but I think the cover got loosened as a result of all the times I dropped it, so now the battery falls out pretty much every time.
- deleted 10y ago[deleted]
- digi_owl 10y agoI have noticed this with a cheap Window tablet i acquired recently. Left alone it will eventually hibernate, something my Android tablets have never attempted. Similarly, when it goes below 4% battery it will basically force a hibernate. That said, all mobile devices, laptops included, have a "force shutdown" option activated by holding the power button for x seconds.
- bmm6o 10y agoThis is true for the first few years, but aging batteries can cause problems. My phone is in a situation where under higher power draws (GPS + navigation) it will simply die when the battery falls to 25%. It's been doing this pretty reliably for a month or 2.
- pvg 10y agoIn the 'computer is a phone' perspective there is no sudden power loss unless the user yanks the battery out of the back. Or the battery is a couple of years old. Or the user lives someplace where it's cold outside.