From owner-freebsd-stable@FreeBSD.ORG Wed Apr 14 07:07:15 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 5EB5F16A4D0 for ; Wed, 14 Apr 2004 07:07:15 -0700 (PDT) Received: from mx-mtaout02.mts.net (wnpgmb0270w.mts.net [142.161.130.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94C4A43D48 for ; Wed, 14 Apr 2004 07:07:14 -0700 (PDT) (envelope-from cbajus@mts.net) Received: from rigel.bajus.ca ([142.161.41.195]) by mx-mtaout02.mts.net with ESMTP id <20040414140713.NWJT8102.mx-mtaout02.mts.net@rigel.bajus.ca>; Wed, 14 Apr 2004 09:07:13 -0500 Received: from rigel.bajus.ca (localhost [127.0.0.1]) by rigel.bajus.ca (8.12.8p2/8.12.8) with ESMTP id i3EE7D8m063240; Wed, 14 Apr 2004 09:07:13 -0500 (CDT) (envelope-from cbajus@rigel.bajus.ca) Received: (from cbajus@localhost) by rigel.bajus.ca (8.12.8p2/8.12.8/Submit) id i3EE7CPW063239; Wed, 14 Apr 2004 09:07:12 -0500 (CDT) Date: Wed, 14 Apr 2004 09:07:12 -0500 From: Cory Bajus To: Mipam Message-ID: <20040414140712.GA62950@rigel.bajus.ca> References: 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: Wed, 14 Apr 2004 14:07:15 -0000 On Tue, Apr 13, 2004 at 03:51:31PM +0200, Mipam wrote: > Hi, > > I've been trying to mount a swap backed mfs, but it seems inpossible. > On questions i've gotten no answer. Thing is, i am able to mount the stuff > in 4-stable, but not in 5.2.1-p4. > I added the line: > > /dev/amrd0s1b /var/amavis mfs rw,-s=65536 0 0 > 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 filesystem on it (see 'man mdmfs' for details). > to /etc/fstab > but i cant mount /var/amavis, in 4-stable it works fine. > I have > > device md # Memory "disks" > in the kernel config so i dont see why it doesnt work. > Can anybody give any hints what's going on? > When i try it manually i get: > > mount_mfs: bad device unit: amrd0s1b > Bye, > > Reinoud. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"