Age | Commit message (Collapse) | Author |
|
* sutils/Makefile (SRCS): Add `clookup.c', `fstab.c', and `update.c'.
|
|
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.
|
|
* Makefile (progs, scripts): New variables.
(targets, special-targets, SRCS, OBJS): Define in terms of those.
(libshouldbeinlibc dep rule): Replaced with static pattern rule
with $(progs) as target list, giving %.o dep as well.
|
|
* Makefile (special-targets): Add losetup.
(SCRIPTS): Add losetup.sh.
* losetup.sh: New file.
|
|
Add swapon.c & swapoff.c.
(HURDLIBS):
Add libstore.
(targets):
Add swapon & swapoff.
Add dependencies on libstore.
|
|
Target removed.
(DIST_FILES):
Variable removed.
(SCRIPTS):
Add MAKEDEV.sh.
($(prefix)/dev/MAKEDEV):
Get rid of dependencies.
Implement with a symbolic link to /sbin/MAKEDEV.
(targets, special-targets):
Add MAKEDEV.
(%: %.sh):
Variable removed.
|
|
|
|
|
|
|
|
(install): Depend on $(prefix)/dev/MAKEDEV.
(all): Depend on MAKEDEV.
($(prefix)/dev/MAKEDEV): New rule.
|
|
|
|
(reboot halt fsck): Add dependency on libshouldbeinlibc.a.
|
|
(SRCS): Add $(SCRIPTS).
(special-targets, SCRIPTS, LCLHDRS): New variables.
|
|
|