Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2004 11:02:45 +0200 (MET DST)
From:      Mipam <mipam@ibb.net>
To:        Cory Bajus <cbajus@mts.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: unable to mount swap backed device
Message-ID:  <Pine.LNX.4.33.0404161055390.30534-100000@ux1.ibb.net>
In-Reply-To: <20040414140712.GA62950@rigel.bajus.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
[SNIP]

> md	/var/amavis	mfs	rw,-s64m	0	0

[SNIP]
>> Thanks, it works fine.
>> Only the permissions ans ownership after this are like this:
>>
>> drwxrwxrwt   3 root    wheel
>>
>> every time after reboot the permissions are the same again.
>> Anyway, to get around this?

>Sure - have a look at the -p and -w options in the mdmfs man
>page.

I noticed these options there, only, how do i invoke these commands in
this line in /etc/fstab: (can i do it like this?)

md    /var/amavis     mfs     rw,-s64m,-p750,-wamavis:amavis   0   0

Where -p750 means actually chmod 750
and -w.. means user and group amavis so that it's mounted like this:

drwxr-x---   5 amavis  amavis

Bye,

Mipam.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0404161055390.30534-100000>