using tmpfs files system

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu Jun 28 18:47:25 IST 2007


On Thu, 28 Jun 2007, Julian Field wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> You should put mount instructions in /etc/fstab. Just follow the other
> mounts that are already there. You will probably find a line for
> /dev/shm. Just copy that line, and change /dev/shm to
> /var/spool/MailScanner/incoming. Don't comment out or delete the
> original line, you want both of them!
>
> You can mount as many places as you like with tmpfs.
>
> Then it will be automatically mounted every time you reboot.
> If you want to mount it immediately, after you have put it in /etc/fstab
> then just issue the command
>    mount /var/spool/MailScanner/incoming
> with no other parameters. It will pull all the information it needs out
> of /etc/fstab.
>
> Putting lines in rc.local is not the standard way of doing this! :-)

The worst part is that you would mount a tmpfs AFTER starting MailScanner.

And changing working areas while a process is using them might lead to 
failures.

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 		(Thanks JFK, for the insight.)


More information about the MailScanner mailing list