summaryrefslogtreecommitdiff
path: root/mach-defpager/file_io.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-02-28 08:33:40 +0000
committerRoland McGrath <roland@gnu.org>2001-02-28 08:33:40 +0000
commitb1d8a9aa0d80fced013dc216f20f725e570256f9 (patch)
tree8c53bf75451794ed7befe330e2bdd6ab81bb2bd9 /mach-defpager/file_io.h
parent8c28cd0407e904dbf292f5fea7ca6fc1013523d1 (diff)
2001-02-27 Roland McGrath <roland@frob.com>
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.
Diffstat (limited to 'mach-defpager/file_io.h')
0 files changed, 0 insertions, 0 deletions