aboutsummaryrefslogtreecommitdiff
path: root/sutils/swapon.c
Commit message (Collapse)AuthorAgeFilesLines
* 2002-06-26 Roland McGrath <roland@frob.com>Roland McGrath2002-06-261-9/+12
| | | | * swapon.c (swaponoff): Fix last change.
* 2002-06-14 Roland McGrath <roland@frob.com>Roland McGrath2002-06-251-1/+12
| | | | | * swapon.c (swaponoff): If get_privileged_ports fails with EPERM, try to open /servers/default-pager instead.
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-10/+10
| | | | * swapon.c (check_signature): Use %zu for size_t arg.
* 2001-02-27 Roland McGrath <roland@frob.com>Roland McGrath2001-02-281-17/+356
| | | | | | | | | | | | | | | | | | | Use a new, more flexible RPC interface to the default pager. This allows swapon to do its own interpretation of Linux swap signature pages, and to support partial-device stores such as store_open will return for regular files on disk filesystems. * swapon.c: Include <hurd/default_pager.h>, not <mach/default_pager.h>. (ignore_signature, require_signature, quiet): New variables. (options): Add --silent, --no-signature, --require-signature. (main: parse_opt): Parse them. (check_signature): New function. (swaponoff): Use it unless --no-signature set, to get a remapped store using the pages indicated by the Linux signature page. Try new default_pager_paging_storage RPC first, using a possibly-remapped device store. If the default pager does not support that, fall back to the old protocol that only supports whole devices (and wherein the default pager itself interprets a Linux signature page). * Makefile (swapon, swapoff): Depend on default_pagerUser.o.
* 1999-11-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-191-0/+2
| | | | * swapon.c (swaponoff): Check for a null default pager port.
* 1999-05-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-11/+44
| | | | * swapon.c: Support -a (reading fstab).
* 1998-07-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-4/+4
| | | | * swapon.c (main): Fix return type to int, and use return.
* Doc fix.Miles Bader1997-07-151-1/+1
|
* Initial checkinMiles Bader1997-07-091-0/+130