Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 1998 10:43:52 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Robert Watson <robert@cyrus.watson.org>
Cc:        Thierry Besancon <Thierry.Besancon@lps.ens.fr>, besancon@lps.ens.fr, hackers@FreeBSD.ORG
Subject:   Re: Mounting MFS without a swap partition
Message-ID:  <199811221843.KAA29870@apollo.backplane.com>
References:   <Pine.BSF.3.96.981122124212.8311A-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
    You can run mount_mfs using a file for backing store.  The 'device'
    specification is virtually irrelevant, it is simply used by mfs_mount
    to get default filesystem parameters I believe.  It need not be swap.

    While it is possible to mount MFS with unbacked storage (i.e. when the
    system has no swap), I wouldn't recommend it.  The memory space is still
    used up even if you rm files out of the MFS partition.  If you *do* do
    this, make the MFS volume as small as possible.

						-Matt

    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet 
                    Communications & God knows what else.
    <dillon@backplane.com> (Please include original email in any response)    

:On Sun, 22 Nov 1998, Thierry Besancon wrote:
:
:> About 2 months ago, you asked in questions@FreeBSD.ORG how to mount a MFS
:> partition without any swap.
:> I'm in the same configuration.
:> 
:> Did you get any answer ? The thread in empty how your question...
:> 
:> Thanks for any piece of information.
:
:Thierry,
:
:Unfortunately I never did receive a response about that.  I'm CC'ing this
:message to -hackers in the hopes of a suggestion.
:
:Essentially, the problem is as follows -- mount_mfs appears to require a
:device that it can associate itself with; this is normally the name of the
:swap device used.  However, if you use vnconfig and a swap file, you do
:not have a swap file exactly; or at least, you do, but apparently
:mount_mfs does not like vn0b.  Does anyone have any suggestions as to how
:to go about doing this when using only swap files on a machine?
:
:  Robert N Watson 


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



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