Ok I have been stuck for a week now. I added a second SATA hdd for squid. My pfsense 2.3-RELEASE (amd64) is working fine.
I followed https://www.freebsd.org/doc/handbook/disks-adding.html and reached the stage where a file system is created in the new partition on the new disk #
Next I tried to create a mount point using #
Note that squidcache is without the dot like others. I think that is ok since I read those with dots are hidden system files.
So the next step will be to add an entry to /etc/fstab so the new disk will be mounted automatically at startup
Problem is how do I use vi? Where and what command I should type? Help.
I followed https://www.freebsd.org/doc/handbook/disks-adding.html and reached the stage where a file system is created in the new partition on the new disk #
newfs -U /dev/ada1p1
Next I tried to create a mount point using #
mkdir /squidcache
. It is telling me that the file exists. So I tried # mkdir squidcache
and that seems to work. I get the following using command ls -1 .cshrc .gitsync_merge.sample . hushlogin .login .profile .shrc .tcshrc squidcache
Note that squidcache is without the dot like others. I think that is ok since I read those with dots are hidden system files.
So the next step will be to add an entry to /etc/fstab so the new disk will be mounted automatically at startup
Code:
/dev/ada1p1 /squidcache ufs rw 2 2
Problem is how do I use vi? Where and what command I should type? Help.