Age | Commit message (Collapse) | Author |
|
|
|
* io.c (trivfs_S_file_syncfs): Fix inverted test.
Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
|
|
|
|
* Makefile (OTHERSRCS): Add init-main.c.
|
|
* configure.in: Add AC_PROG_AWK.
* config.make.in (AWK): New variable, substituted by configure.
|
|
|
|
* storeio.c (options): New option -c/--no-cache.
(inhibit_cache): New variable.
(parse_opt): Make -c set it.
(trivfs_append_args): Report --no-cache if set.
(check_open_hook): Pass inhibit_cache flag to dev_open.
* dev.h (struct dev): New member `inhibit_cache'.
(dev_open): Update decl.
* dev.c (dev_open): Take new arg inhibit_cache, store in new dev.
If set, don't initialize buf_offs, io_lock, pager, pager_lock.
(dev_read, dev_write): If DEV->inhibit_cache is set, allow only
whole-block i/o: EINVAL for non-whole-block attempts.
* pager.c (dev_get_memory_object): If DEV->inhibit_cache is set, don't
make our own pager; if store_map returns EOPNOTSUPP, so do we.
|
|
|
|
* Makefile: Add rules for generating prototype ?ioctl.defs files from
a list of C headers that define the ioctl request macros.
(DIST_FILES): Add ioctl-tmpl.sym ioctl.awk gensym.awk.
* gensym.awk, ioctl-decode.h, ioctl-tmpl.sym, ioctl.awk: New files
supporting those rules.
|
|
* ioctls.defs: New file.
|
|
|
|
* rr.c (rrip_work): Remove makedev macro definition.
|
|
* main.c (main): Use diskfs_init_main.
|
|
|
|
* ext2fs.c (main): Use diskfs_init_main.
|
|
* main.c (main): Use diskfs_init_main.
|
|
* file-set-trans.c: Remove makedev, major, minor macro definitions.
* dir-lookup.c: Likewise.
|
|
* init-main.c: New file, defining new function diskfs_init_main.
* diskfs.h: Declare diskfs_init_main.
|
|
* ops.c (netfs_attempt_link): Remove major, minor macro definitions.
* nfs.c (xdr_decode_fattr): Remove makedev macro definition.
|
|
* file-set-translator.c: Remove makedev, major, minor macro definition.
* dir-lookup.c: Likewise.
|
|
|
|
* syncfs.c: Replace -a/--asynchronous with -s/--synchronous.
Default is now asynchronous.
|
|
|
|
* sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
|
|
* interrupt-on-notify.c (ports_interrupt_self_on_notification): Use
assert to check we are in an rpc; don't return EIEIO (not appropriate).
|
|
|
|
|
|
|
|
* Makefile (SRCS, targets, targets rule): Rename sync to syncfs.
* syncfs.c: Renamed from sync.c.
Take flags -a/--asynchronous and -c/--no-children,
and optional file arguments. Diagnose errors.
|
|
|
|
|
|
* main.c (S_exec_init): Deallocate PROCSERVER port when finished.
|
|
Use a struct hurd_port for the cached exec server port,
so it is properly reference-counted and locked.
* boot-start.c (diskfs_exec): Variable removed.
(diskfs_start_bootstrap): Make it a local here.
Install that port in _diskfs_exec_portcell.
(diskfs_S_fsys_init): Use _diskfs_exec_portcell instead
of diskfs_exec.
* init-init.c (_diskfs_exec_portcell): New variable.
(diskfs_init_diskfs): Initialize it.
* priv.h: Declare it.
* diskfs.h (diskfs_exec, diskfs_exec_ctl): Remove decls.
* file-exec.c (diskfs_S_file_exec): Use _diskfs_exec_portcell instead
of diskfs_exec.
|
|
|
|
* boot-start.c (diskfs_start_bootstrap): Twiddle boot-time messages.
|
|
|
|
|
|
* store.h: Remove defns of STORAGE_*, now in <hurd/hurd_types.h>.
|
|
* hurd_types.h (enum file_storage_class): New values STORAGE_REMAP,
STORAGE_COPY; moved with their comments from libstore/store.h.
|
|
|
|
* Makefile (prog-subdirs): Reordered with vague topical grouping.
|
|
* inode.c (diskfs_set_statfs): Remove __ from struct members.
1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
* inode.c (diskfs_set_statfs): Fill in statfs members that are
used to implement statvfs.
|
|
* inode.c (diskfs_set_statfs): Remove __ from struct members.
1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
* inode.c (diskfs_set_statfs): Fill in statfs members that are
used to implement statvfs.
|
|
* inode.c (diskfs_set_statfs): Remove __ from struct statfs members.
Use bzero first instead of setting individual fields to zero.
|
|
|
|
* boot-start.c (_diskfs_boot_privports): Renamed from diskfs_*.
* priv.h: Declare it.
* console.c (diskfs_console_stdio): Change caller.
|
|
* file-statfs.c (diskfs_S_file_statfs): Remove __ from struct members.
1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
* file-statfs.c (diskfs_S_file_statfs): Initialize mount options
in statbuf.
|
|
|
|
|
|
* inode.c (diskfs_set_statfs): Fill in statfs members with
sensible values.
|