aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
...
* Mon Jul 5 20:03:18 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-062-1/+7
| | | | | | * node-nputl.c (diskfs_nput_light): Fix typo in function declaration. Reported by Yamashita TAKAO (jargon@lares.dti.ne.jp).
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-034-6/+12
| | | | | | | * file-get-trans.c (diskfs_S_file_get_translator): Use munmap instead of vm_deallocate. * io-read.c (diskfs_S_io_read): Likewise. * protid-rele.c (diskfs_protid_rele): Likewise.
* 1999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-0110-139/+307
| | | | | | | | | | | | | | | | | * node-nref.c: New file; guts from diskfs.h. * node-nput.c: Likewise. * node-nrele.c: Likewise. * node-nrefl.c: Likewise. * node-nputl.c: Likewise. * node-nrelel.c: LIkewise. * diskfs.h (diskfs_nref, diskfs_nput, diskfs_nrele, diskfs_nref_light, diskfs_nput_light, diskfs_nrele_light): Replace inline definitions with ordinary declarations. (DISKFS_EI): Removed macro. * diskfs.c: Deleted file. * Makefile (OTHERSRCS): Added node-nref.c, node-nput.c node-nrele.c, node-nrefl.c, node-nputl.c, node-nrelel.c. Removed diskfs.c.
* 1999-06-29 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-06-294-171/+2
| | | | | * hyper.c (diskfs_readonly_changed): Adjust whether the store should permit writes too.
* 1999-06-29 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-06-293-2/+19
| | | | | | | | | | | | * lookup.c (diskfs_lookup): If we get an error from fshelp_checkdirmod, clear *NP as well as returning the error. Use diskfs_nrele instead of diskfs_nput in case *NP and DP are the same. 1999-06-28 Thomas Bushnell, BSG <tb@mit.edu> * dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer; several little buglets fixed too.
* 1999-06-28 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-06-292-30/+26
| | | | * dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer.
* 1999-06-27 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-06-272-2/+9
| | | | | | | * sync-default.c (diskfs_default_sync_interval): Reduce to five seconds. Hardware is much different than when Unix originally picked thirty, plus we manage VM differently than the Unix buffer cache did, and tend to delay many more writes than Unix did.
* .Roland McGrath1999-06-131-0/+3
|
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-131-1/+1
| | | | | * file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in last change.
* .Roland McGrath1999-06-131-0/+6
|
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-131-12/+14
| | | | | | * file-get-trans.c (diskfs_S_file_get_translator): If we return an error, vm_deallocate any vm_allocated memory. From Mark Kettenis <kettenis@gnu.org>.
* .Roland McGrath1999-06-041-0/+6
|
* 1999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-041-4/+8
| | | | | | * boot-start.c (diskfs_start_bootstrap): Pass environment collected from `environ' on to init. The kernel can send more parameters through this way without us knowing about them specifically.
* .Roland McGrath1999-05-191-0/+5
|
* 1999-05-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-191-8/+15
| | | | | * console.c (diskfs_console_stdio): If there is an fd 2 that appears to work, just leave it as is and dup2 it to fd 1 as well.
* .Roland McGrath1999-05-161-0/+5
|
* 1999-05-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-161-6/+11
| | | | | * file-chown.c (diskfs_S_file_chown): Fix last change: not just permission check, actually don't make the change if value is -1.
* .Roland McGrath1999-05-151-0/+5
|
* 1999-05-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-151-6/+11
| | | | | * file-chown.c (diskfs_S_file_chown): Either arg being -1 means don't change that id.
* Tue Apr 6 10:05:49 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-04-062-2/+7
| | | | | * dir-renamed.c (diskfs_rename_dir): Stage 1, if TNP == FNP, we have to unlock TNP with diskfs_nput and not just diskfs_nrele it.
* Tue Mar 16 17:20:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-172-4/+10
| | | | * lookup.c (diskfs_lookup): Reformat for prettiness.
* .Roland McGrath1999-02-281-2/+7
|
* 1999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-282-12/+9
| | | | | * io-revoke.c (diskfs_S_io_revoke): Use ports_class_iterate. * readonly.c (diskfs_set_readonly): Likewise.
* Mon Feb 22 04:28:56 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-222-0/+7
| | | | | * io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation by blocking all other rpcs.
* Sat Feb 20 20:46:21 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-212-6/+9
| | | | | * io-revoke.c (diskfs_S_io_revoke): Release NP->lock before beginning iteration.
* .Roland McGrath1999-02-171-0/+6
|
* 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-171-3/+3
| | | | * init-startup.c (diskfs_startup_diskfs): Fix typo 1999-02-12 change.
* 1999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-02-171-9/+7
| | | | * io-revoke.c (diskfs_S_io_revoke): Fix typo in 1999-02-16 change.
* minor repairsThomas Bushnell1999-02-161-2/+5
|
* Tue Feb 16 05:31:23 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-163-2/+66
| | | | | * io-revoke.c: New file. * Makefile (IOSRCS): Add io-revoke.c.
* Sat Feb 13 04:29:29 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-132-2/+8
| | | | | | * peropen-make.c (diskfs_make_peropen): If there is no existing context, then set the shadow_root iff we are a chrooted virtual root filesystem.
* 1999-02-12 Gordon Matzigkeit <gord@trick.fig.org>Thomas Bushnell1999-02-132-1/+12
| | | | | | * init-startup.c (diskfs_startup_diskfs): Release the virtual root's lock as soon as we've checked that it's a valid directory. Ignore leading slashes in _diskfs_chroot_directory.
* Sun Jan 31 18:24:33 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-01-312-4/+23
| | | | | * file-utimes.c (diskfs_S_file_utimes): Implement new semantics for setting to exactly present time.
* .Roland McGrath1999-01-271-0/+4
|
* 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.