View Single Post
Posts: 161 | Thanked: 343 times | Joined on Jul 2010 @ middle of nowhere
#69
Originally Posted by Estel View Post
Awesome work!

Although, IIRC, removing magnet doesn't unmount SD card cleanly, just "cuts the power", So it may be good idea to prepare a pair of scripts for mounting/unmounting on demand. For people that use swap on microSD, it would also consist of moving swap to eMMC when card is to be put off, of course (and in reverse, after inserting it and willing to mount). I don't need to add that powering off sd card by means of magnet when you have swap there works as nicely, as physically pulling out RAM stick of your desktop PC while it's working.

/Estel
Well, i think that the magnet doesen't just "cuts the power" becase if i remove the card without opening the kickstand (removing the magnet), the card is still visible in the file manager, and will stay that way even if the card is removed, until i open/close the kickstand.
So i think the magnet does mount/unmount the card correctly.
About the swap on the card, i never used that.
 

The Following 3 Users Say Thank You to ryu1 For This Useful Post: