Age | Commit message (Collapse) | Author |
|
|
|
|
|
* 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.
|
|
|
|
* Makefile (HURDLIBS): Add missing implied library deps.
|
|
* main.c (S_exec_init): Remove variable DEV_MASTER; pass null instead
since we don't need it. Use assert_perror on getting the host-priv
port and on startup_essential_task, since init will hang until we've
done made that RPC.
1998-12-21 Roland McGrath <roland@baalperazim.frob.com>
* main.c (S_exec_init): Don't call set_active_trans.
(set_active_trans): Function removed.
|
|
* exec.c (do_exec): Fix conditional for cleaning up INTERP,
from nonnull E.interp.section to nonnull INTERP.file.
If we failed to open the interpreter file, INTERP.file will be
null and the rest of INTERP will be uninitialized.
|
|
* boot.c (isig): New variable.
(init_termstate): If it's set, set ISIG flag in c_lflag.
(options): New option -I/--isig.
(parse_opt): Make -I set `isig'.
(boot_script_exec_cmd): Print out args as well as file name.
|
|
|
|
* ext2fs.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
|
|
* main.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
|
|
* opts-std-startup.c (startup_options): Move -C above "Boot options:",
give it a docstring. Docstrings for --bootflags, --boot-command.
(_diskfs_boot_command): New variable.
(startup_options, parse_startup_opt): New option --boot-command,
consumes remaining args to set _diskfs_boot_command.
* priv.h: Declare _diskfs_boot_command.
* boot-start.c (diskfs_start_bootstrap): If diskfs_exec_server_task is
null, assume we are running as the boot command and have a root with
/servers/exec.
If _diskfs_boot_command is set, start that command in place of init.
If can't lookup initname, print error msg and loop to prompt.
Put a newline before "Init name" prompt.
After starting exec server, try to set active trans on /servers/exec.
(diskfs_boot_getpriv): New function: if _hurd_host_priv
is null, use fsys_getpriv on our bootstrap port.
(parent_task): New static variable, set there with fsys_getpriv call.
(diskfs_S_fsys_init): If diskfs_exec_server_task is null, don't do
anything with it; instead register parent_task as our child
and send an fsys_init to our parent on our bootstrap port.
* console.c (diskfs_console_stdio): Call diskfs_boot_privports before
get_privileged_ports if diskfs_boot_flags is set.
|
|
* file-exec.c (diskfs_S_file_exec): If exec server port is stale, try
once to look up a new one.
|
|
|
|
* open.c (store_open): Like file.c:fiopen, catch EACCES or EROFS
and try to open read-only.
|
|
* open.c (store_open): Like file.c:fiopen, catch EACCES or EROFS
and try to open read-only.
* file.c (fiopen): Treat EROFS same as EACCES.
|
|
|
|
* inode.c (diskfs_write_disknode): Add braces to silence warning.
* pager.c (file_pager_read_page): Likewise.
|
|
* storeinfo.c: Don't include <netinet/in.h>.
|
|
|
|
|
|
* loop.c (server_loop): Cosmetic.
|
|
* nfsd.h: Include <rpc/types.h>.
(bool_t, enum_t): Remove typedefs.
|
|
* alloc.c (diskfs_alloc_node): Fix printf format to silence warning.
* hyper.c (get_hypermetadata): Likewise.
|
|
|
|
* lmail.c (deliver, main): Add braces to silence gcc warning.
|
|
|
|
* boot-parse.c: File removed (it has been obsolete since 1995).
|
|
|