diff options
author | Roland McGrath <roland@gnu.org> | 2001-02-28 08:33:40 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-02-28 08:33:40 +0000 |
commit | b1d8a9aa0d80fced013dc216f20f725e570256f9 (patch) | |
tree | 8c53bf75451794ed7befe330e2bdd6ab81bb2bd9 /sutils/Makefile | |
parent | 8c28cd0407e904dbf292f5fea7ca6fc1013523d1 (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 'sutils/Makefile')
-rw-r--r-- | sutils/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sutils/Makefile b/sutils/Makefile index 5b5c2110..be2da539 100644 --- a/sutils/Makefile +++ b/sutils/Makefile @@ -1,6 +1,6 @@ # Makefile for sutils # -# Copyright (C) 1996,97,99 Free Software Foundation, Inc. +# Copyright (C) 1996,97,99,2000 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -34,7 +34,7 @@ HURDLIBS = store shouldbeinlibc include ../Makeconf fsck: fstab.o clookup.o -swapon swapoff: ../libstore/libstore.a +swapon swapoff: ../libstore/libstore.a default_pagerUser.o $(progs): %: %.o ../libshouldbeinlibc/libshouldbeinlibc.a install: $(prefix)/dev $(prefix)/dev/MAKEDEV |