4 ms·
Use a read only root fs and overlays in ram, this will keep your sdcard based Linux server running much longer, though it is a bit tedious to set up.
by plasticchris 8y ago
Use a read only root fs and overlays in ram, this will keep your sdcard based Linux server running much longer, though it is a bit tedious to set up.
- logicallee 8y agoFor those curious about how much RAM it has, the bottom comment in the more active HN discussion links here: http://dmitry.gr/index.php?r=05.Projects&proj=15&proj=15.%20Transcend%20WiFiSD http://dmitry.gr/index.php?r=05.Projects&proj=15&proj=15.%20... At first I thought it referred to just 3 MB of RAM (ouch!!) - but it has 32 MB. That's enough to do quite a bit in a stripped-down embedded Linux. To quote that page: >An exciting time indeed - now this WiFiSD card is a perfectly working ARMv5 computer with a kernel and ramdisk we can build, and 16GB of storage. Pity it only has 32MB of RAM. Well, we do have ability to modify the kernel now. I added support for swap, ext4, sysfs, loop, and a few other modern conveniences we all know and love. Once again the card booted. Now I was able to swapon a file on the SD card, loop-mount a 2GB ext4 filesystem and chroot into a version of ubuntu in there. Once inside, it is the nice and comfy environment you'd expect. I was able to bring up sshd with X-forwarding, and even run firefox on the card (it was slow). Modifying the card's boot scripts again, I tried to get it to do all this on boot and succeeded. SWEET! ....for about $30 and in the size of an SD-card and weighing less than a penny. With WIFI.
- gdfasfklshg4 8y agoInteresting. How does this sort of set up handle updates?
- plasticchris 8y agoYou could ab update using dd to write to the other partition(s)