home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20876 < prev    next >
Encoding:
Text File  |  1992-12-18  |  2.7 KB  |  85 lines

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