View Single Post
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#26
Originally Posted by Estel View Post
Maybe it is possible to modify the driver to never unmount on cove-off? Of course attaching magnet isn't bad idea, but puristic way of things would be do change this behavior on code side

Anyway, can someone explain me rationale of unmounting/cutting microSD card on removing cover? There is one at all, or designers just thought that users are idiots and will remove card hard-way when in use?
The same reason you unmount (or "safely remove" in Windows) your pendrives on computer. User may not have any app opened, but there might be some system deamon (like tracker indexing multimedia files) or some delayed write operations may be performed (I don't know how it works on N900, but often when you want to write some files to your pendrive on your computer, the system may show that operation finished, but the driver is still packing it on the device and writing and thus using it). And if one would take sd card out of reader, it could lead to memory corruption and loss of data (the same applies to removing pendrives from your computer without using "safely remove" option :P)

Originally Posted by vi_ View Post
No, I will not be installing multiboot. I wish to write to the NAND as little as possible and multiboot writes the kernel every change of boot. Uboot all the way (probably, if I ever get round to it!)
Well, how often DO you change boot? It flashes kernel only when you actually select different option than previously (if you choose the same kernel as previously, it looks inteligent enough not to flush it again). So, if you don't have multiboot and thus only boot one kernel, your nand would be safe. And if something would go wrong, you could just choose second (fail-safe) boot option, for example the default omap1 N900 kernel. I think that, after all, this means the same or less write operations to nand than using flasher on your pc, am I right?
 

The Following User Says Thank You to misiak For This Useful Post: