From owner-freebsd-stable@FreeBSD.ORG Fri Apr 16 03:12:36 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54E9E16A4CE for ; Fri, 16 Apr 2004 03:12:36 -0700 (PDT) Received: from ux1.ibb.net (ux1.ibb.net [64.215.98.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D85643D48 for ; Fri, 16 Apr 2004 03:12:35 -0700 (PDT) (envelope-from mipam@ibb.net) Received: from localhost (mipam@localhost) by ux1.ibb.net (8.9.3/8.9.3/UX1TT) with ESMTP id LAA30570; Fri, 16 Apr 2004 11:02:45 +0200 X-Authentication-Warning: ux1.ibb.net: mipam owned process doing -bs Date: Fri, 16 Apr 2004 11:02:45 +0200 (MET DST) From: Mipam To: Cory Bajus In-Reply-To: <20040414140712.GA62950@rigel.bajus.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: unable to mount swap backed device X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2004 10:12:36 -0000 [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.