Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jun 2001 08:56:27 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        current@freebsd.org
Subject:   Re: mdconfig and _virtual_ memory 
Message-ID:  <90992.991896987@critter>
In-Reply-To: Your message of "Wed, 06 Jun 2001 10:19:34 EDT." <200106061419.f56EJYN18798@aldan.algebra.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200106061419.f56EJYN18798@aldan.algebra.com>, Mikhail Teterin write
s:

>When I moved  to mdconfig, I figured  I have to use ``-t  swap'' for the
>same effect, but it seems, I was wrong -- apparently, ``swap'' means the
>filesystem will always hit  the disk, even if there is  plenty of RAM to
>go around. My suspicion was further confirmed, by disabling the swapping
>at  all --  the  mdconfig-ed  device stopped  working  -- disklabel  got
>ENOMEM.

The swap backing in md(4) is a straight copy of the code which lived
in vn(4).  I'm not terribly familiar with that code, but I would
expect that it would work with no swap space as well.

Your man is probably Matt Dillon...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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