lkml.org 
[lkml]   [1997]   [Jan]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 11 Jan 1997 23:20:06 -0800
From"Leonard N. Zubkoff" <>
SubjectRe: Swap space priorities
  Date: 	Sun, 12 Jan 1997 00:30:48 -0600
  From: "Roy P. Turner" <roypt@dopamine.com>

  >man swapon

  Well, I said in my post "I set my /etc/fstab as such to set both my swap
  partitions to have equal priority when 'swapon -a' runs at boot >>>(per the
  swapon man page)<<<, and thus have the system swap equally to both
  partitions. "  So yes, I've read it very thoroughly.  I'm asking because
  what the man page says to do isn't doing what it says it should or I'm
  reading it wrong.   Maybe our swapon man pages are different, my swapon(8)
  and swapon(2) being from mount-2.5p.  My swapon(8) man page says to set up
  fstab as such (other partitions ommited).

  /dev/hda2               swap                    swap    sw,pri=-1
  /dev/hdc1               swap                    swap    sw,pri=-1

  And I still get this on boot.

  Adding Swap: 66020k swap-space (priority -1)
  Adding Swap: 65988k swap-space (priority -2)

  I'm asking if something changed in 2.1.x from 2.0.x that might not be in
  the swapon man pages.

  Thanks,
  Roy


Perhaps your swapon is too old or was compiled before the priority option was
available.  Make sure "#define SWAPON_HAS_TWO_ARGS" is in swapargs.h from the
util-linux-2.6 mount directory.

		Leonard

\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008