The workaround is to add a startup script that will append predefined entries to /etc/fstabafter reboot.
Follow this process:
|
1 2 3 4 5 6 7 8 9 10 11 |
cat << EOF > /usr/local/etc/rc.d/Sfstab.sh cat /etc/.fstab >> /etc/fstab && \ awk '/^ *$/ { delete x; }; !x[$0]++' /etc/fstab > /tmp/fstab.tmp && \ cat /tmp/fstab.tmp > /etc/fstab && \ mount -a EOF chmod 755 /usr/local/etc/rc.d/Sfstab.sh cat << EOF > /etc/.fstab nas07.jedi.local:/tvshows /mnt/nas07/tvshows nfs defaults,bg,rsize=65536,wsize=16384 0 0 EOF |