aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* Initial revisionMiles Bader1995-10-134-0/+226
|
* (std_startup_options): Renamed from std_long_options; converted to argp format.Miles Bader1995-10-131-22/+76
| | | | | | | | | | (std_startup_arg): Renamed from std_startp_argp, converted argp fmt. (diskfs_standard_startup_argp): Renamed from diskfs_standard_startup_options. (parse_startup_opt): Set DISKFS_ARGV. (diskfs_use_mach_device, diskfs_device_arg, dev_startup_options, dev_startup_argp_parents, dev_startup_argp, diskfs_device_startup_argp): New variables. (parse_dev_startup_opt): New function.
* (diskfs_parse_runtime_options): Use argp instead of options.Miles Bader1995-10-131-2/+4
|
* (diskfs_startup_diskfs):Miles Bader1995-10-131-1/+6
| | | | Call diskfs_start_bootstrap if we're the bootstrap file system.
* (std_runtime_options): Renamed from long_options, convert to argp format.Miles Bader1995-10-131-10/+16
| | | | | (SHORT_OPTIONS): Removed. (diskfs_set_options): Converted to use argp.
* (saved_argv): Variable removed.Miles Bader1995-10-131-9/+32
| | | | | | | | | | (diskfs_argv): New variable. Should get set by default arg parser. (diskfs_start_bootstrap): Get rid of ARGV argument. (diskfs_S_fsys_init): Use DISKFS_ARGV instead of SAVED_ARGV. (diskfs_execboot_fsys_startup): Fix args to dir_lookup. Declare PATHBUF and RETRY. (diskfs_S_fsys_init): Put the contents of diskfs_init_completed in here, freeing that routine for user-use.
* (diskfs_start_bootstrap): Get rid of ARGV argument.Miles Bader1995-10-131-18/+81
| | | | | | | | | | | | (diskfs_argv): New declaration. (diskfs_device, diskfs_device_name, diskfs_device_start, diskfs_device_size, diskfs_device_block_size, diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page, diskfs_device_write_sync, diskfs_device_write_sync, diskfs_device_open, diskfs_console_stdio): New declarations. (diskfs_parse_runtime_options, diskfs_standard_startup_argp): Use argp, not options. Include <argp.h> instead of <options.h>.
* (diskfs_execboot_fsys_startup): Use dir_lookup instead ofRoland McGrath1995-10-121-2/+4
| | | | hurd_file_name_lookup to open /servers/exec.
* (diskfs_init_completed): must --> may.Miles Bader1995-10-111-1/+5
| | | | Add necessary includes.
* (diskfs_execboot_fsys_startup): Fix typo in last change.Roland McGrath1995-10-091-1/+1
|
* (diskfs_execboot_fsys_startup): Pass back a port to /servers/exec in *REAL.Roland McGrath1995-10-091-4/+21
|
* (libdiskfs.so): Depend on libpager, libioserver, libfshelp, libthreads.Roland McGrath1995-10-071-0/+3
|
* (MIGSFLAGS): Variable deleted.Miles Bader1995-10-071-4/+6
| | | | | | (fs-MIGSFLAGS, io-MIGSFLAGS, ifsock-MIGSFLAGS): New variables. (fsys-MIGSFLAGS): Also import fsmutations.h. (OTHERSRCS): Remove boot-parse.c; add filedev.c & machdev.c.
* (OPT_BOOTFLAGS, OPT_EXEC_SERVER_TASK, OPT_HOST_PRIV_PORT,Miles Bader1995-10-071-0/+26
| | | | | | OPT_DEVICE_MASTER_PORT): New defines. (std_long_opts, parse_std_startup_opt): Add the --device-master-port, --host-priv-port, --exec-server-task, and --bootflags options.
* (diskfs_init_diskfs): Always use get_privileged_ports. Now return error_t.Miles Bader1995-10-071-22/+14
|
* (diskfs_S_fsys_getpriv): Use get_privileged_ports to get the privileged ports.Miles Bader1995-10-071-46/+53
| | | | | | | | (diskfs_start_bootstrap): Use diskfs_boot_flags instead of diskfs_bootflagarg. (diskfs_start_bootstrap, start_execserver): Look for flags directly in diskfs_boot_flags, instead of using the old diskfs_bootflags. (diskfs_S_exec_startup): Use get_console to get the console device. (get_console): New function.
* (diskfs_S_dir_link): Swap first two arguments.Miles Bader1995-10-071-2/+2
|
* (diskfs_host_priv, diskfs_master_device): Variables deleted.Miles Bader1995-10-071-16/+34
| | | | | | | | (diskfs_parse_bootargs): Function deleted. (diskfs_init_diskfs): Now returns error_t. (diskfs_get_file_device, diskfs_get_mach_device): New funcs. (diskfs_boot_flags): New variable. (diskfs_bootflags, diskfs_bootflagarg): Variables deleted.
* (periodic_sync_lock): Variable removed.Roland McGrath1995-10-051-33/+34
| | | | | | | (diskfs_set_sync_interval): Use ports_inhibit_port_rpcs on `pi' instead of the spin lock. (periodic_sync): Don't use the lock. Put ports_begin_rpc before check of periodic_sync_thread.
* (FSSRCS): Deleted file-pathconf.c.Miles Bader1995-09-181-10/+10
| | | | (IOSRCS): Added io-pathconf.c.
* (diskfs_S_io_pathconf): Renamed from file_pathconf.c:diskfs_S_file_pathconf.Miles Bader1995-09-181-8/+6
|
* (diskfs_S_exec_startup): Don't pass an argument string.Roland McGrath1995-09-171-10/+4
| | | | Set *FLAGS to EXEC_STACK_ARGS.
* Renamed from file-trunate.c.Roland McGrath1995-09-171-9/+20
| | | | | (diskfs_S_file_set_size): Renamed from diskfs_s_file_truncate. If SIZE exceeds the file size, extend the file.
* (FSSRCS): Rename file-truncate.c to file-set-size.c.Roland McGrath1995-09-171-1/+1
|
* (DIST_FILES): Added ourfs_notify.defs.Roland McGrath1995-09-161-9/+1
| | | | (ourfs_notify_U.h ourfs_notifyUser.c, ourfs_notify.defs): Targets removed.
* Initial revisionRoland McGrath1995-09-161-0/+5
|
* (diskfs_lookup): Doc fix.Michael I. Bushnell1995-09-131-1/+4
|
* (diskfs_clear_directory): Set the fourth arg in REMOVE lookup calls inMichael I. Bushnell1995-09-131-5/+13
| | | | accord with change in rules for the lookup call.
* (SRCS): Removed $(NOTIFYSRCS) and $(INTSRCS).Miles Bader1995-09-061-7/+3
| | | | | (NOTIFYSRCS, INTSRCS, notify-MIGSFLAGS): Removed. (MIGSTUBS): Removed notifyServer.o and interruptServer.o.
* (diskfs_demuxer): Use ports_notify_server and ports_interrupt_server insteadMiles Bader1995-09-061-5/+3
| | | | of our own versions.
* (diskfs_S_io_select): Don't check open modes or return EBADF.Michael I. Bushnell1995-08-291-8/+0
|
* (FSYSSRCS): Add fsys-forward.c.Miles Bader1995-08-251-1/+1
|
* Initial revisionMiles Bader1995-08-251-0/+37
|
* (diskfs_S_file_truncate): Bother to check the return value ofMichael I. Bushnell1995-08-251-2/+2
| | | | diskfs_truncate.
* (REMHDRS): Removed.Miles Bader1995-08-241-19/+5
| | | | Rules dealing with ../lib removed.
* (diskfs_S_ifsock_getsockaddr): Try to restart the PF_LOCAL server if it dies.Miles Bader1995-07-311-0/+11
|
* (diskfs_drop_node): Don't actually drop the node if it is a socket namingMiles Bader1995-07-291-0/+10
| | | | point, unless it also has no links.
* (diskfs_S_file_getcontrol): Fix typo.Michael I. Bushnell1995-07-221-1/+1
|
* (start_execserver): Tyo.Michael I. Bushnell1995-07-221-1/+1
|
* (_diskfs_translator_callback_fn): Use correct sense of diskfs_readonlyMichael I. Bushnell1995-07-211-1/+1
| | | | flag.
* (_diskfs_translator_callback_fn): Free initial reference created byMichael I. Bushnell1995-07-211-7/+10
| | | | diskfs_make_protid.
* (diskfs_S_io_restrict_auth): Free initial referenc created byMichael I. Bushnell1995-07-211-4/+5
| | | | diskfs_make_protid.
* (diskfs_S_io_duplicate): Free initial reference created byMichael I. Bushnell1995-07-211-4/+7
| | | | diskfs_make_protid.
* (diskfs_S_fsys_getroot): Free initial reference created byMichael I. Bushnell1995-07-211-5/+7
| | | | diskfs_make_protid.
* (diskfs_S_file_invoke_translator): Free initial reference created byMichael I. Bushnell1995-07-211-4/+7
| | | | diskfs_make_protid.
* (diskfs_S_file_exec): Free initial reference created byMichael I. Bushnell1995-07-211-6/+8
| | | | diskfs_make_protid.
* (diskfs_S_dir_mkfile): Free initial reference created byMichael I. Bushnell1995-07-211-6/+9
| | | | diskfs_make_protid.
* (diskfs_S_dir_lookup): Free initial references created byMichael I. Bushnell1995-07-211-11/+13
| | | | diskfs_make_protid.
* (diskfs_start_bootstrap): Free initial reference created by diskfs_make_protid.Michael I. Bushnell1995-07-211-18/+26
| | | | | (diskfs_S_exec_startup): Likewise. (diskfs_S_fsys_init): Likewise.
* (diskfs_S_io_reauthenticate): Free initial reference created byMichael I. Bushnell1995-07-211-0/+2
| | | | diskfs_start_protid.