|
From: Heiko Z. <he...@zu...> - 2007-12-05 13:22:22
|
On Wed, December 5, 2007 02:02, Heroi No Last wrote: > Hello devil-linux-discuss. > > > Im'm trying to mount the partition /dev/hda2 on the dir /var/squid/cache. > I changed the /etc/fstab, adding the line: > > > /dev/hda2 /var/squid/cache auto defaults 0 0 > > > However, when I boot the system I get the error that /var/squid/cache > does not exist. > > Can someone help me on this? We recommend using LVM for harddisk support, since our script would create all the required directories. If you don't want to to use LVM, then yes of course you'll have to create the directory at boot time. Edit the /etc/init.d/boot.local and add the line mkdir -p /var/squid/cache This will resolve your problem. -- Regards Heiko Zuerker http://www.devil-linux.org |