Setting the location of proc independent of configdir

2007-11-15 Thread Ian G Batten
I was interested to see someone suggesting putting proc into tmpfs. That's slightly painful if /var/imap is in ZFS: the order in which mounts take place means you can't just put /var/imap/proc tmpfs into / etc/vfstab if /var/imap is coming in through ZFS. A glance at the source code says

Re: Setting the location of proc independent of configdir

2007-11-15 Thread Ian G Batten
On 15 Nov 07, at 1045, Simon Matter wrote: I was interested to see someone suggesting putting proc into tmpfs. That's slightly painful if /var/imap is in ZFS: the order in which mounts take place means you can't just put /var/imap/proc tmpfs into / etc/vfstab if /var/imap is coming in

Re: Setting the location of proc independent of configdir

2007-11-15 Thread Andy Fiddaman
On Thu, 15 Nov 2007, Ian G Batten wrote: ; I was interested to see someone suggesting putting proc into tmpfs. ; That's slightly painful if /var/imap is in ZFS: the order in which ; mounts take place means you can't just put /var/imap/proc tmpfs into / ; etc/vfstab if /var/imap is coming in

Re: Setting the location of proc independent of configdir

2007-11-15 Thread Simon Matter
I was interested to see someone suggesting putting proc into tmpfs. That's slightly painful if /var/imap is in ZFS: the order in which mounts take place means you can't just put /var/imap/proc tmpfs into / etc/vfstab if /var/imap is coming in through ZFS. A glance at the source code says

Re: Setting the location of proc independent of configdir

2007-11-15 Thread Rob Mueller
I didn't test but doesn't a symlink work? Yes, it does (just tried it on a development system). Definitely, we use it on all our machines. lrwxrwxrwx 1 root root 23 Oct 26 10:50 proc - /tmpfs/imapproc-slot101 Rob Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:

Re: Setting the location of proc independent of configdir

2007-11-15 Thread Vincent Fox
I've been running this in production: mkdir /var/imap-proc chown cyrusd /var/imap-proc ln -s /var/imap-proc /var/cyrus/imap/proc Setup vfstab entry for /var/imap-proc as TMPFS , and that's about all there is to it. But yeah it would be an improvement to see it configurable. Ian G Batten