aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/init-startup.c
Commit message (Collapse)AuthorAgeFilesLines
* 2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield2002-03-261-2/+1
| | | | | * init-startup.c (_diskfs_init_completed): Use error, not fprintf.
* 2002-03-25 Neal H Walfield <neal@cs.uml.edu>Neal H. Walfield2002-03-261-4/+6
| | | | | | | | | | | | | | | | | | | | | | * peropen-make.c (diskfs_make_peropen): Instead of returning the peropen, return as error_t and return the peropen in the new parameter *PPO. * diskfs.h (diskfs_make_peropen): Change declaration to reflect new semantics. * boot-start.c (diskfs_start_bootstrap): Check the return value of diskfs_make_peropen using the new semantics. (diskfs_S_exec_startup_get_info): Likewise. (diskfs_execboot_fsys_startup): Likewise. (diskfs_S_fsys_init): Likewise. * dir-lookup.c (diskfs_S_dir_lookup): Likewise. * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. * file-exec.c (diskfs_S_file_exec): Likewise. * file-reparent.c (diskfs_S_file_reparent): Likewise. * fsys-getfile.c (diskfs_S_fsys_getfile): Likewise. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * trans-callback.c (_diskfs_translator_callback2_fn): Likewise. * init-startup.c (diskfs_startup_diskfs): Likewise.
* 2001-04-14 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-04-151-11/+9
| | | | | * init-startup.c (diskfs_startup_diskfs): Use ERR, not errno, so we can actually read this variable in a debugger.
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-1/+1
| | | | | * file-exec.c (diskfs_S_file_exec): Fix typo and braino in last change. * init-startup.c (diskfs_startup_diskfs): Fix braino in last change.
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-171-6/+9
| | | | | | | | | | * boot-start.c (diskfs_S_fsys_init, diskfs_start_bootstrap): Don't use MOVE_SEND in Hurd RPC. * file-exec.c (diskfs_S_file_exec): Don't use MAKE_SEND in Hurd RPC. * init-startup.c (diskfs_startup_diskfs, _diskfs_init_completed): Likewise.
* 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-091-1/+1
| | | | | * priv.h (_diskfs_chroot_directory): Remove const from type. * init-startup.c (_diskfs_chroot_directory): Likewise.
* 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-12 Gordon Matzigkeit <gord@trick.fig.org>Thomas Bushnell1999-02-131-1/+6
| | | | | | * 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.
* 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.
* 1998-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-241-15/+60
| | | | | | | | | | | | | | 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.
* (_diskfs_init_completed):Miles Bader1996-09-231-2/+2
| | | | Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
* (diskfs_S_startup_dosync):Miles Bader1996-07-281-18/+25
| | | | | Don't sync if DISKFS_READONLY. Clean up after ourselves.
* (diskfs_startup_diskfs): Don't call diskfs_readonly_changed hereMichael I. Bushnell1996-06-271-4/+0
| | | | anymore.
* (diskfs_S_startup_dosync): Don't crash the filesystem, just do a cleanMichael I. Bushnell1996-06-241-1/+5
| | | | sync.
* (diskfs_S_startup_dosync): Pass HANDLE to ports_lookup_port. Declare ERR.Miles Bader1996-06-201-1/+2
|
* (diskfs_S_startup_dosync): Uncomment function.Michael I. Bushnell1996-06-131-2/+0
|
* (_diskfs_init_completed): NOTIFY doesn't need deallocation.Michael I. Bushnell1996-06-131-1/+0
|
* (_diskfs_init_completed): again.Michael I. Bushnell1996-05-091-1/+2
|
* (_diskfs_init_completed): Don't need to insert right any more now thatMichael I. Bushnell1996-05-091-9/+1
| | | | it's a poly arg.
* (_diskfs_init_completed): Provide helpful name to init.Michael I. Bushnell1996-05-091-1/+5
|
* Include <string.h> and <hurd/startup.h>.Michael I. Bushnell1996-04-301-0/+86
| | | | | | | (diskfs_startup_diskfs): If not bootstrap filesystem, call _diskfs_init_completed here. (diskfs_S_startup_dosync): New function (commented out). (_diskfs_init_completed): New function.
* (diskfs_startup_diskfs): Use ports_create_port instead of ports_allocate_port.Miles Bader1996-01-271-8/+10
|
* (diskfs_startup_diskfs) Add FLAGS arg; use.Miles Bader1995-11-021-2/+2
|
* (diskfs_startup_diskfs):Miles Bader1995-10-191-0/+4
| | | | Call diskfs_readonly_changed if we're starting up writable.
* (diskfs_startup_diskfs):Miles Bader1995-10-131-1/+6
| | | | Call diskfs_start_bootstrap if we're the bootstrap file system.
* (diskfs_startup_diskfs): Free initial reference created byMichael I. Bushnell1995-07-211-8/+8
| | | | ports_allocate_port.
* (diskfs_startup_diskfs): Use new args for ports_allocate_port.Michael I. Bushnell1995-06-091-3/+4
|
* (diskfs_startup_diskfs): Start periodic background syncing, if enabled.Miles Bader1995-05-181-0/+4
|
* entered into RCSRoland McGrath1994-09-121-0/+2
|
* Initial revisionRoland McGrath1994-09-101-0/+49