[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd/sutils Makefile swapon.c
From: |
Roland McGrath |
Subject: |
hurd/sutils Makefile swapon.c |
Date: |
Wed, 28 Feb 2001 00:33:40 -0800 |
CVSROOT: /cvs
Module name: hurd
Changes by: Roland McGrath <address@hidden> 01/02/28 00:33:40
Modified files:
sutils : Makefile swapon.c
Log message:
2001-02-27 Roland McGrath <address@hidden>
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.
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/sutils/Makefile.diff?r1=1.12&r2=1.13
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/sutils/swapon.c.diff?r1=1.5&r2=1.6
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd/sutils Makefile swapon.c,
Roland McGrath <=