installer: partition: Fix swaping and use syscalls.
authorMathieu Othacehe <m.othacehe@gmail.com>
Thu, 6 Dec 2018 03:05:42 +0000 (12:05 +0900)
committerLudovic Courtès <ludo@gnu.org>
Thu, 17 Jan 2019 13:04:26 +0000 (14:04 +0100)
commitb624206d6bfadd99ea903a35fe1d3e7fc11b5ba3
tree4e434dbb5f5b4f86a600ccff0ccf7a4cc7ca8c8c
parenta7b2a4649fdbc4c9d2e49c6ee3b0e9a94048861c
installer: partition: Fix swaping and use syscalls.

* gnu/installer/parted.scm (start-swaping): Remove it,
(stop-swaping): Remove it,
(start-swapping): New procedure using swapon syscall,
(stop-swapping): New procedure using swapoff syscall,
(with-mounted-partitions): Use previous start-swapping and stop-swapping
procedures.
gnu/installer/parted.scm