aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
...
* 1999-01-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-271-2/+2
| | | | * Makefile (OTHERSRCS): Add init-main.c.
* .Roland McGrath1999-01-241-0/+8
|
* 1999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-242-10/+3
| | | | | * file-set-trans.c: Remove makedev, major, minor macro definitions. * dir-lookup.c: Likewise.
* 1999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-242-1/+100
| | | | | * init-main.c: New file, defining new function diskfs_init_main. * diskfs.h: Declare diskfs_init_main.
* .Roland McGrath1999-01-011-0/+4
|
* 1999-01-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-01-011-2/+2
| | | | * sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
* .Roland McGrath1998-12-301-0/+16
|
* File removed (obsolete since 1996).Roland McGrath1998-12-301-32/+0
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-305-22/+60
| | | | | | | | | | | | | | | | 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.
* .Roland McGrath1998-12-271-0/+5
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-12/+4
| | | | * boot-start.c (diskfs_start_bootstrap): Twiddle boot-time messages.
* .Roland McGrath1998-12-271-0/+13
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-273-2/+5
| | | | | | * boot-start.c (_diskfs_boot_privports): Renamed from diskfs_*. * priv.h: Declare it. * console.c (diskfs_console_stdio): Change caller.
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-2/+14
| | | | | | | | * 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.
* .Roland McGrath1998-12-271-0/+29
|
* 1998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-274-86/+262
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 1998-12-21 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-271-18/+39
| | | | | * file-exec.c (diskfs_S_file_exec): If exec server port is stale, try once to look up a new one.
* .Roland McGrath1998-12-061-0/+4
|
* 1998-12-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-12-061-193/+0
| | | | * boot-parse.c: File removed (it has been obsolete since 1995).
* .Roland McGrath1998-11-291-0/+10
|
* 1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath1998-11-291-1/+1
| | | | | * boot-start.c (diskfs_S_fsys_init): Call _hurd_proc_init with new args set to zero.
* 1998-11-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-11-291-3/+3
| | | | | * trans-callback.c (_diskfs_translator_callback1_fn): Use size_t* instead of int* for ARGZ_LEN arg.
* Wed Aug 12 23:35:59 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-11-162-2/+9
| | | | | * file-chflags.c (diskfs_S_file_chflags): Only set NP->dn_set_ctime if we actually set the flags.
* .Roland McGrath1998-11-071-0/+5
|
* 1998-10-26 Gordon Matzigkeit <gord@trick.fig.org>Roland McGrath1998-11-071-1/+1
| | | | | * init-startup.c (diskfs_startup_diskfs): Use diskfs_nput to free the old diskfs_root_node when switching to a virtual root.
* .Roland McGrath1998-10-241-0/+45
|
* 1998-10-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-243-29/+35
| | | | | | | | * dir-lookup.c (diskfs_S_dir_lookup): Add braces to silence gcc warning. * io-identity.c (diskfs_S_io_identity): Likewise. * opts-append-std.c (diskfs_append_std_options): Likewise. * opts-std-runtime.c (set_opts): Likewise.
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-2410-96/+97
| | | | | | | | | | | | | | | | | | | | * diskfs.h (diskfs_lookup_hard, diskfs_lookup, diskfs_set_translator, diskfs_create_symlink_hook, diskfs_notice_dirchange, diskfs_direnter, diskfs_direnter_hard, diskfs_dirrewrite, diskfs_dirremove, diskfs_create_node, diskfs_enter_lookup_cache, diskfs_check_lookup_cache, dir_rename_dir, diskfs_set_options): Add `const' qualifier to `char *' parameters where appropriate. * opts-set.c (diskfs_set_options): Fix defn with `const'. * node-create.c (diskfs_create_node): Likewise. * name-cache.c (diskfs_enter_lookup_cache): Likewise. (diskfs_check_lookup_cache): Likewise. * dirremove.c (diskfs_dirremove): Likewise. * dirrewrite.c (diskfs_dirrewrite): Likewise. * lookup.c (diskfs_lookup): Likewise. * direnter.c (diskfs_direnter): Likewise. * dir-renamed.c (diskfs_rename_dir): Likewise. * dir-chg.c (diskfs_notice_dirchange): Likewise.
* 1998-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-241-36/+53
| | | | | * dir-lookup.c (diskfs_S_dir_lookup): Treat a shadow_root with null shadow_root_parent as a "virtual root".
* 1998-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-244-34/+92
| | | | | | | | | | | | | | Add support for a "virtual root directory" specified at startup. * priv.h (_diskfs_chroot_directory): Declare new variable. * opts-std-startup.c (startup_options, parse_startup_opt): New string-valued option -C/--directory/--virtual-root/--chroot sets _diskfs_chroot_directory. * init-startup.c (_diskfs_chroot_directory): New variable. (diskfs_startup_diskfs): If that's set, look up the name and warp us to that as a virtual root directory. * fsys-getroot.c (diskfs_S_fsys_getroot): Initialize new peropen's shadow_root_parent to null, and shadow_root to either null or, if _diskfs_chroot_directory is set, to diskfs_root_node.
* .Roland McGrath1998-08-201-3/+9
|
* 1998-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-08-202-4/+4
| | | | | | * fsys-options.c (diskfs_S_fsys_get_options): fshelp_return_malloced_buffer renamed to iohelp_*. * file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* Tue Aug 11 16:17:49 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-08-122-1/+4
| | | | * file-chflags.c (diskfs_S_file_chflags): Set NP->dn_set_ctime.
* Tue Aug 11 16:17:49 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-08-112-1/+9
| | | | * file-utimes.c (diskfs_S_file_utimes): Add file notifications.
* Sun Aug 9 21:09:24 1998 Jose M. Moya <josem@gnu.org>Thomas Bushnell1998-08-1015-25/+168
| | | | | | | | | | | | | | | | | | | | | | | | | * diskfs.h (struct node): Add filemod_reqs member. (struct modreq): Rename struct dirmod to reqmod as it is used for directory and file notifications. (diskfs_notice_filechange): Add prototype. * dir-chg.c (diskfs_S_dir_notice_changes): Check nowait_dir_changed return value for errors. (diskfs_notice_dirchange): Remove requests when the notification fails. * file-chg.c (diskfs_S_file_notice_changes): Implement. (diskfs_notice_filechange): New function. * node-make.c (diskfs_make_node): Initialize filemod_reqs. * node-drop.c (free_modreqs): New function. (diskfs_drop_node): Free filemod_reqs. * file-chauthor.c (dithkfth_TH_file_chauthor): Add file notifications. * file-chflags.c (diskfs_S_file_chflags): Likewise. * file-chmod.c (diskfs_S_file_chmod): Likewise. * file-chown.c (diskfs_S_file_chown): Likewise. * file-set-size.c (diskfs_S_file_set_size): Likewise. * io-prenotify.c (diskfs_S_io_prenotify): Likewise. * io-write.c (diskfs_S_io_write): Likewise. * node-rdwr.c (diskfs_node_rdwr): Likewise.
* .Roland McGrath1998-07-251-0/+6
|
* 1998-07-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-251-8/+16
| | | | | | * shutdown.c (diskfs_shutdown): Sync and set the clean flag even if we don't shut down. Thus a disk that was in use but hadn't been touched recently needn't necessarily be checked after a system crash.
* .Roland McGrath1998-07-201-23/+28
|
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-24/+24
| | | | | * dir-lookup.c (diskfs_S_dir_lookup: short_circuited_callback1): Fix type of arg `argz_len' to use size_t *.
* Tue Jul 14 16:27:00 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-07-142-3/+7
| | | | | | * dir-lookup.c (diskfs_S_dir_lookup): Don't require the node to be a directory in the null pathname case. (Thus reverting one of the changes of June 15, 1994.)
* typoThomas Bushnell1998-06-291-1/+2
|
* Mon Jun 29 18:54:23 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-06-292-1/+11
| | | | * lookup.c (diskfs_lookup): If NAME is empty, return an error.
* Tue May 12 12:08:35 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-05-122-1/+8
| | | | | | * file-get-trans.c (diskfs_S_file_get_translator) [S_ISCHR || S_ISBLK]: Free BUF after using it. Reported by Katusya Tanaka (wyvern@pb3.so-net.ne.jp).
* Tue Sep 23 15:28:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1998-04-133-9/+11
| | | | | | * file-reparent.c (diskfs_S_file_reparent): Use diskfs_nrele instead of protocol-violating up-tree lock. * peropen-rele.c (diskfs_release_peropen): Likewise.
* .Miles Bader1997-09-191-3/+2
|
* (parse_startup_opt):Miles Bader1997-09-191-2/+2
| | | | Prepend "_diskfs" to uses of NOSUID & NOEXEC.
* Prepend "_diskfs" to uses of NOSUID & NOEXEC.Miles Bader1997-09-191-1/+1
|
* (diskfs_S_file_exec):Miles Bader1997-09-191-2/+2
| | | | Prepend "_diskfs" to uses of NOSUID & NOEXEC.
* (OPT_EXEC_OK, OPT_SUID_OK):Miles Bader1997-09-191-4/+4
| | | | | | Rename definitions from ..._OPT. (set_opts): Prepend "_diskfs" to uses of NOSUID & NOEXEC.
* .Miles Bader1997-09-191-0/+11
|