[Mimedefang] Ram based directory on FreeBSD 5.2x

Rob rob_macgregor at hotmail.com
Thu Mar 11 02:29:04 EST 2004


> -----Original Message-----
> From: mimedefang-bounces at lists.roaringpenguin.com 
> [mailto:mimedefang-bounces at lists.roaringpenguin.com] On 
> Behalf Of Wesley Peters
> 
> OK, I looked at the 'mdmfs' code on 5.2 and found that:
> 
> 1) When called as 'mount_mfs', as is done when processing fstab, it is
>    run in 'compatibility' mode.
> 
> 2) Compatibility mode disables the option to specify the 
> owner and group.
> 
> 3) The permissions under compatibility mode are fixed at 
> 01777.  This is
>    generally what you want for a TMP directory.
> 
> Do you need more than this?  There's a better (more 5.x-ish) way to do
> this; but it needs a starter script in /etc/rc.d and a configuration 
> knob in /etc/rc.conf.  I'll look into that, but you wouldn't see such
> a feature in a "release" version until 5.3.

As long as there is some way to call it from fstab that allows you to run in
non-compatability mode I don't expect there's a problem.  It's that darn
compatability mode :)  I personally would be happy with, say, mount_md as a
hard link so that you can still provide full backwards support, while
providing access to the full power of mdmfs (actually, that's exactly the
hack I did on my own box - manually created a link).

Thanks for offering to fix this.  As somebody else has already raised a PR I
won't.


PLEASE - keep list traffic on the list.  Email sent directly to me may be
ignored utterly.

-- 
Rob | What part of "no" was it you didn't understand? 



More information about the MIMEDefang mailing list