From owner-freebsd-questions Thu Sep 6 15: 6:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id 9F67537B405 for ; Thu, 6 Sep 2001 15:06:10 -0700 (PDT) Received: (from httpd@localhost) by aragorn.neomedia.it (8.11.4/8.11.4) id f86M62p04741; Fri, 7 Sep 2001 00:06:02 +0200 (CEST) To: Mike Meyer Subject: Re: Good practice for /tmp Message-ID: <999813962.3b97f34a33366@webmail.neomedia.it> Date: Fri, 07 Sep 2001 00:06:02 +0200 (CEST) From: Salvo Bartolotta Cc: Mike Meyer , Ceri , questions@freebsd.org References: <999807502.3b97da0e9af9f@webmail.neomedia.it> <15255.61590.455896.440737@guru.mired.org> In-Reply-To: <15255.61590.455896.440737@guru.mired.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4-cvs X-WebMail-Company: Neomedia s.a.s. X-Originating-IP: 62.98.152.230 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Scrive Mike Meyer : > Salvo Bartolotta types: > > > An mfs is supposedly backed by swap. So if swap is on mfs, what's > > > backing the mfs? Is the inverse of the dual the dual of the > inverse? > > > Where's the tylenol? > > Hmm, the dual of a dual is isomorphic to the original space. :-) > > But the dual of a graph may not be a graph. > > > > Anyway, I agree with you. Putting swap on mfs or md seems sort of > > > pointless. If the goal is to prevent people from reading sensitive > > > information left on swap if the hardware is compromised - which is > > > something security people do worry about - just configure the > system > > > without any swap. > > I am probably missing something here. I seem to understand that even > systems > > with a *large* amount of RAM [occasionally] make use of swap; in other > words, > > the OS seems to be tuned to utilize swap, regardless of the amount of > RAM > > present on the machine. > > While it's certainly correct that the system runs better with swap - a > minimum of 256MB is recommended by tuning(7) - that doesn't mean it > absolutely has to have any swap at all. > > > Enlightenment welcome :-) > > During the install process, the system clearly runs without swap - > which is one of the reasons you have to have more memory to install > FreeBSD than you do to use it. The comments in LINT about the > NO_SWAPPING option indicate that it's expected that a system can run > that way. > > If you believe pstat -s, I just booted and ran a system sans swap by > the simple expedient bring it up single user, removing the swap > partition from /etc/fstab, and then going multi-user. No problems - > but I was careful not to do anything that would use lots of memory. > > -- > Mike Meyer http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more > information. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message