Hi, I'm going to install arch onto a compact flash card. To minimize writes to the card am I going to link /tmp to /var/tmp and create a ramdisk at boot for /var to be mounted in.
Do I have to recreate the /var file system in the boot process somehow or will this be created automatically?
Is there anything else I should think about?
Unless I'm mistaken, this won't work. /var needs some permanent storage medium - things like the pacman database and all logfiles are stored there, for example.
Concerning pacman, looking at the manpage ,it's seems possible to chose where is stored the database:
CONFIG: OPTIONS DBPath = path/to/db/dir Overrides the default location of the toplevel database direc- tory. The default is var/lib/pacman.
. But ialso thinks it will be hard to put the entire /var into a ramdisk.