From owner-freebsd-stable@FreeBSD.ORG Thu Apr 15 11:08:07 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 A8DEA16A4CE for ; Thu, 15 Apr 2004 11:08:07 -0700 (PDT) Received: from mx-mtaout02.mts.net (wnpgmb0271w.mts.net [142.161.130.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEF8143D2D for ; Thu, 15 Apr 2004 11:08:06 -0700 (PDT) (envelope-from cbajus@mts.net) Received: from rigel.bajus.ca ([142.161.122.60]) by mx-mtaout02.mts.net with ESMTP id <20040415180806.XNEN8102.mx-mtaout02.mts.net@rigel.bajus.ca>; Thu, 15 Apr 2004 13:08:06 -0500 Received: from rigel.bajus.ca (localhost [127.0.0.1]) by rigel.bajus.ca (8.12.8p2/8.12.8) with ESMTP id i3FI858m096494; Thu, 15 Apr 2004 13:08:05 -0500 (CDT) (envelope-from cbajus@rigel.bajus.ca) Received: (from cbajus@localhost) by rigel.bajus.ca (8.12.8p2/8.12.8/Submit) id i3FI84fi096493; Thu, 15 Apr 2004 13:08:04 -0500 (CDT) Date: Thu, 15 Apr 2004 13:08:04 -0500 From: Cory Bajus To: Mipam Message-ID: <20040415180804.GA96430@rigel.bajus.ca> References: <20040414140712.GA62950@rigel.bajus.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i 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: Thu, 15 Apr 2004 18:08:07 -0000 On Thu, Apr 15, 2004 at 09:08:52AM +0200, Mipam wrote: > On Wed, 14 Apr 2004, Cory Bajus wrote: > > [SNIP] > > > On 5+, you need an entry like this in /etc/fstab: > > > > md /var/amavis mfs rw,-s64m 0 0 > > > > This will configure a swap backed 'md' disk and put a UFS > > 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. > Bye, > > Mipam.