I have FreeBSD 9.0-RELEASE installed on a Soekris Engineering NET5501, which boots off an 8GB compact flash, primarily as a small Asterisk system.
The operating system boots in read only mode to avoid too many writes to the compact flash, this was achieved by setting the following parameters in /etc/fstab:
I had issues with the system running out of space on and needed to increase the default memory disk size, this was done by adding the following to /etc/fstab:
and making the following changes to /etc/rc.conf:
The problem I have now is that on boot up the system mounts /tmp with permissions 755 and so asterisk cannot write to the tmp partition when receiving faxes.
The manual fix is to:
Thanks in advance
The operating system boots in read only mode to avoid too many writes to the compact flash, this was achieved by setting the following parameters in /etc/fstab:
Code:
# Device Mountpoint FsType Options Dump Pass#
/dev/ada0p2 / ufs ro 1 1
Code:
/dev/ada0p2 / ufs ro 1 1
/dev/md0 /var ufs rw 0 0
/dev/md1 /tmp ufs rw 0 0
Code:
mdconfig_md0="-t swap -s 64m"
mdconfig_md1="-t swap -s 32m"
The manual fix is to:
chown -R 777 /tmp which fixes the issue until reboot, could anyone provide a tip on how to make this persistent so the system always boots with /tmp permissions as 777?Thanks in advance