From owner-freebsd-hackers Sun Nov 22 10:44:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA01082 for freebsd-hackers-outgoing; Sun, 22 Nov 1998 10:44:37 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA01075 for ; Sun, 22 Nov 1998 10:44:34 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.1/8.9.1) id KAA29870; Sun, 22 Nov 1998 10:43:52 -0800 (PST) (envelope-from dillon) Date: Sun, 22 Nov 1998 10:43:52 -0800 (PST) From: Matthew Dillon Message-Id: <199811221843.KAA29870@apollo.backplane.com> To: Robert Watson Cc: Thierry Besancon , besancon@lps.ens.fr, hackers@FreeBSD.ORG Subject: Re: Mounting MFS without a swap partition References: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. (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