Available space on the root filesystem suggestion
When testing this with my beaglebone black with the image from files.devuan.org I ran into an issue from the sdcard immediately, that there wasn't enough free space to update the apt caches. Oddly after doing anapt-get clean
I could update it.
My suggestion would be that these images should have at least 512MB free space, and maybe a little more to allow for installation of extra packages.
-
It would be possible to expand the images up to 2 gigabytes, since I'm not aware of any card sizes between 1 and 2 GB. And
xz
should take care of compressing the extra zeroes so there shouldn't be any changes in the compressed image size.Another option I am thinking about is expanding the filesystem automatically on the first boot, but I am not sure if everyone would like this. Also thinking about adding a swap partition at the very end of the sd card.
Do you think it's a viable option to do this, or rather have a thing like
raspi-config
? -
The only issue I see with increasing the size of the images statically is that people may well want to create their own partitions after installing to the sdcard, so perhaps some unallocated space should be left over from 2gb as well.
I'm unfamiliar with raspi-config, but a quick search shows what it does. That looks like a good approach and would be a nice tool to have. The only thing that stands out about the raspi-config approach is that it looks to start on boot and not all users will care to have a display plugged in. I'm not sure about expanding the images at boot, personally I'd prefer a more manual approach. My usage on embedded so far hasn't needed a swap (I'm new to ARM SBC's), though at some point I'd probably need or at least try swap at some point, doesn't see like a bad idea but maybe it's optional for some users.
Edited by dev1fanboy -
I've expanded the image sizes to about 2GB.
-
closed