home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!seas.gwu.edu!ryentis
- From: ryentis@seas.gwu.edu (Richard D. Yentis)
- Subject: Re: swap file > 16M
- Message-ID: <1992Dec17.194754.20726@seas.gwu.edu>
- Sender: news@seas.gwu.edu
- Organization: George Washington University
- References: <MNL.92Dec17122952@hjksun.idtsun.e-technik.th-darmstadt.de>
- Date: Thu, 17 Dec 1992 19:47:54 GMT
- Lines: 73
-
- I have a 20M swap space, but it does not seem to work. For
- one thing swapon says that it is adding 16380k which is only about
- 16M. For another free -s says that I don't have a swap device. Any
- ideas? What follows is a portion of a screen dump after having just
- logged in and run free. Below that is my /etc/rc file (where swapon
- is called) and below that is an ls -l /dev/swap (then mtab and fstab).
- I imagine that it is something dumb which I am over looking,
- but I also think that there is a problem with either swapon (claiming
- to add, but not adding) or free (claiming nothing was added). If you
- have any suggestions please email them. I do read comp.os.linux
- everyday, but it is easy to miss an article with so much traffic.
-
- Thanks in advance,
-
- Rich
- ryentis@seas.gwu.edu
- ---------
- Memory: 7628k/8448k available (356k kernel, 384k reserved, 80k data)
- hda :
- part 1 start 38 size 30742 end 30779
- part 2 start 30780 size 41040 end 71819
- part 3 start 71820 size 41040 end 112859
- part 4 start 112860 size 120612 end 233471
- Partition table ok.
- Linux version 0.98.pl1-37 (root@softland) 10/12/92 14:54:40
- [MS-DOS FS Rel. alpha.8, FAT 12, check=n, conv=b, uid=0, gid=0, umask=022]
- [me=0xf8,cs=8,#f=2,fs=1,fl=12,ds=25,de=512,data=57,se=30742,ts=0]
- No bmap support
- /dev/hda1 on /dos type msdos (defaults)
- /dev/hda3 on /tmp type minix (defaults)
- Adding Swap: 16380k swap-space
-
-
- This is Linux 0.98 SLS
-
- softland login: rich
- Password:
-
- rich@~# free
- total used cache free shared
- memory: 8448 0 2204 4504 0
- rich@~# free -s /dev/swap
- total used cache free shared
- swap: No swap device.
-
- ------------------------
- # rc from 0.96 root disk
- # uses mount -a and removes some pesky files
-
- /etc/update &
-
- # remove /etc/mtab* so mount creates the /etc/mtab file
- /bin/rm -f /etc/mtab* /etc/nologin
-
- /bin/rdev > /etc/mtab
- /bin/mount -av
- /bin/swapon /dev/swap
-
- /bin/rm -f /usr/spool/uucp/LCK* /tmp/LCK*
-
- /bin/sh /etc/rc.local
- -------------
- rich@~# ls -l /dev/swap
- lrwxrwxrwx 1 root root 9 Nov 29 15:33 /dev/swap -> /dev/hda2
- -------------/etc/mtab:
- /dev/hda4 /
- /dev/hda1 /dos msdos defaults 0 0
- /dev/hda3 /tmp minix defaults 0 0
- -------------/etc/fstab:
- /dev/hda1 /dos msdos defaults
- /dev/hda2 /swap swap defaults
- /dev/hda3 /tmp minix defaults
- /dev/hda4 / minix defaults
-