News for hackers. Stuff that matters.
Re:A tiny PC as a router by icebraining on Tuesday October 04, 2016 @05:02AM (#12634195)
Throw out the SDD. A 1G usb thumb drive is enough.

Agreed, though if you do, you have to be careful with writes. I literally had to reflash my drive every time the power went out (I don't have an UPS). My solution was to move every writable directory to a tmpfs, then mount the root fs as readonly. Logs get shipped by a cron job over ssh. It's been rock-solid ever since.

If you want to upgrade or reconfigure without reflashing, you can still remount with rw, do your thing and then remount with ro again.

Re:A tiny PC as a router by fnj on Tuesday October 04, 2016 @06:02AM (#12634399)
Or, rather than going through all that rigmarole, just use an SSD. If you want to save money, get a really cheap one. You can easily get a 60 GB SSD for $30.
Re:A tiny PC as a router by arpa on Tuesday October 04, 2016 @07:23AM (#12634715)
Or, alternatively, just use that USB drive for bootup and continue running purely in ram.
Re:A tiny PC as a router by icebraining on Tuesday October 04, 2016 @06:20AM (#12634464)
Well, it's not like filesystems in SSDs never get corrupt when power goes off. And the USB stick is helpful if you need to mount it on a laptop, for example if you fucked up the firewall rules and you're now unable to SSH in :)