[Pkg-ltsp-devel] Bug#387991: nbdswapd: Should accept swap directory configuration

Petter Reinholdtsen petter.reinholdtsen at usit.uio.no
Sun Sep 17 21:35:30 UTC 2006


Package: ltsp-server
Version: 0.99debian1

By default, the new nbdswapd creates the swap file like this:

  if [ -f /etc/ltsp/nbdswapd.conf ]; then
    . /etc/ltsp/nbdswapd.conf
  fi

  if [ -z "$SWAP" ]; then
    SWAP=$(tempfile)
  fi

But I would like to be able to tell it to store all the swap files in
/var/opt/ltsp/swapfiles/ or similar, and this seem to be very
complicated to specify with the current structure.  Can the script be
changed to accept some SWAPDIR variable to specify where the swap
files should be created?

Friendly,
-- 
Petter Reinholdtsen




More information about the Pkg-ltsp-devel mailing list