Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2000 21:56:04 -0400
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        Dru <genisis@istar.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ram drive on 4.0
Message-ID:  <20000516215604.E58707@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.21.0005162120280.560-100000@genisis>; from genisis@istar.ca on Tue, May 16, 2000 at 09:29:06PM -0400
References:  <Pine.BSF.4.21.0005162120280.560-100000@genisis>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000516215604.E58707>