*BSD News Article 60864


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!hookup!newsfeed.internetmci.com!panix!not-for-mail
From: tls@panix.com (Thor Lancelot Simon)
Newsgroups: comp.unix.amiga,comp.unix.bsd.netbsd.misc
Subject: Re: Few questions about NetBSD
Date: 7 Feb 1996 16:16:03 -0500
Organization: Panix
Lines: 31
Message-ID: <4fb4qj$9de@panix3.panix.com>
References: <1747.6610T551T2688@stack.urc.tue.nl> <4f7lck$4eo@rrzs3.uni-regensburg.de> <4f929h$5a8@drivel.ics.uci.edu>
Reply-To: tls@rek.tjls.com
NNTP-Posting-Host: panix3.panix.com
Xref: euryale.cc.adfa.oz.au comp.unix.amiga:12445 comp.unix.bsd.netbsd.misc:2175

In article <4f929h$5a8@drivel.ics.uci.edu>,
Roger P. Ang <rang@ics.uci.edu> wrote:
>In article <4f7lck$4eo@rrzs3.uni-regensburg.de>,
>Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de> wrote:
>>E. Durmin (eka@stack.urc.tue.nl) wrote:
>>>   - I've heard that NetBSD uses a just little bit more memory than Linux...
>>>       I've downloaded top (top-3.3) and tried to start top.
>>>       It doesn't start... it says that there was no memory left...
>>>       Do I really have no memory left or is the swap partition not in use?
>>>       Does 'swapon -a' turns on the swap partition or is NetBSD automatically
>>>       turning on the swap-partition?
>>
>>AFAIK, NetBSD uses your swap-partition per default, you don't have to care.
>
>Yes, 'swapon -a' is run in /etc/rc (I think, or in /etc/rc.local).
>However, you have to make sure the swap partition is listed in
>/etc/fstab.  I don't think the install script does that (only sets up
>root and /usr partitions in /etc/fstab).

Are you sure that's true?  If it is, the Amiga port is different from all of
the other ports I've used.

"options GENERIC", which was in most ports' generic kernels last I checked,
pulls in swapgeneric.c, which will automagically put swap on the first
partition it can find on the boot disk that's got fstype swap in the
disklabel.

No "swapon -a" required.
-- 
 Thor Lancelot Simon	                                      tls@rek.tjls.com
                        love is an angel disguised as lust