3 * swapoff.c - Disable region for swapping
5 * Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
9 USE_SWAPOFF(NEWTOY(swapoff, "<1>1", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
15 usage: swapoff swapregion
17 Disable swapping on a given swapregion.
22 void swapoff_main(void)
24 if (swapoff(toys.optargs[0]))
25 perror_exit("failed to remove swaparea");