unable to mount swap backed device
Mipam
mipam at ibb.net
Fri Apr 16 03:12:36 PDT 2004
[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.
More information about the freebsd-stable
mailing list