From owner-freebsd-questions Tue May 16 18:56:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id A7CF737B726 for ; Tue, 16 May 2000 18:56:07 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id VAA59192; Tue, 16 May 2000 21:56:04 -0400 (EDT) (envelope-from cjc) Date: Tue, 16 May 2000 21:56:04 -0400 From: "Crist J. Clark" To: Dru Cc: questions@FreeBSD.ORG Subject: Re: ram drive on 4.0 Message-ID: <20000516215604.E58707@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from genisis@istar.ca on Tue, May 16, 2000 at 09:29:06PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, May 16, 2000 at 09:29:06PM -0400, Dru wrote: > > Is there a tutorial anywhere for adding a RAM drive to FreeBSD 4.0? The > recipe I used in 3.x no longer seems to be valid. Here's what I've gotten > so far from my searches and manpage reading: > > Tried swapon -a but get this message: > > swapon: /dev/ad1s1b: Device not configured > > So I doublecheck /etc/fstab which does contain: > > /dev/ad1s1b none swap sw 0 0 > > (Also tried the line mentioned in the handbook, but got same error as > above, but worse as refused to mount my filesystems) > > Check /dev which does have an entry for ad1s1b, so I try: > > sh MAKEDEV ad1s1b > > It does it's thing, still not configured. Reboot, still not > configured. Also doublecheck my kernel config file to verify options MFS > is not remmed out. > > Any other hints to try? First of all, was this drive detected at boot? # grep ad1 /var/run/dmesg.boot Second, is the disk labeled? # disklabel -r ad1s1 -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message