From: Jim Winstead Jr. (jwinstea@jarthur.claremont.edu)
Date: 07/13/92


From: jwinstea@jarthur.claremont.edu (Jim Winstead Jr.)
Subject: Re: shell size and memory
Date: Tue, 14 Jul 1992 02:48:45 GMT

In article <fortony.711054270@murphy> fortony@sonne.cso.uiuc.edu writes:
>One thing installing X has really done for me is make me aware
>of the inherent memory limitations of my home PC (a 4M 386/25).

It made me realize how badly I goofed in not springing the extra cash
for a non-interlaced monitor. :)

>1) are there any very lightweight shells out there? Perhaps a
>stock /bin/sh, or maybe a /bin/rc?

I've been able to compile all release of rc since 1.2 (1.3?) cleanly
under Linux, so you should be able to grap the sources from
archone.tamu.edu:/pub/rc or your favorite comp.sources.* archive, and
compile them. There might be a small glitch or two with things being
defined inthe rc source that shouldn't, but nothing major.

>3) could someone e-mail me (I'll keep answers and forward them to
>anyone who mails me) what the 'set up swap space' process is? I
>can't seem to find any appropriate files or postings, but then, I
>could be just being blind.

If you want to set up a swap partition, simply create the partition,
do a mkswap -c /dev/hdwhatever blocks, and add a '/dev/hdwhatever none
swap sw' entry to /etc/fstab. This assumes you are using the swapon
from the 0.96 rootdisk - otheriwse you'll have to add a call to swapon
in /etc/rc.

To create a swap file, make the file with 'dd if=/dev/zero of=swapfile
bs=1024 count=whatever', and then run mkswap on that file, with the
number of blocks == whatever count you specified for dd. You can then
add a fstab entry or call to swapon with the swapon filename instead
of the swap partition.

If you don't have a /dev/zero on your system, do a 'mknod /dev/zero c
1 5'.

-- 
                                    +    Jim Winstead Jr. (CSci '95)
                                    |            Harvey Mudd College
                                    | jwinstea@jarthur.Claremont.EDU
                                    + This is all my words.  Honest!