summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
1995-11-02(diskfs_startup_diskfs, diskfs_execboot_fsys_startup): Add FLAGS arg.Miles Bader
1995-10-31(diskfs_S_dir_lookup): Deal correctly with short-circuited translators thatMiles Bader
diskfs doesn't implement itself. (major, minor): New macros -- temporarily here until libc exports them.
1995-10-31(diskfs_S_file_set_translator):Miles Bader
Add missing else. Use makedev macro instead of doing it by hand. (makedev): New macro -- temporarily here until libc exports one.
1995-10-31(OTHERSRCS): Add init-completed.c, dev-open.c, dev-io.c, dev-globals.c,Miles Bader
console.c, readonly.c, remount.c, opts-common.c.
1995-10-19(periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader
1995-10-19(diskfs_S_fsys_getroot): Hold DISKFS_FSYS_LOCK for reading.Miles Bader
1995-10-19(diskfs_S_io_map): Pass the appropiate vm protection to diskfs_get_filemap.Miles Bader
If this node isn't O_RDWR, only return the appropiate memobj. Include <fcntl.h>.
1995-10-19(diskfs_execboot_fsys_startup):Miles Bader
Open exec's realnode read-only for now, since we know it doesn't matter and having gratuitously writable nodes around prevents us from starting up or going read-only. (diskfs_S_fsys_init): Don't make the cwdir/crdir right with O_WRITE.
1995-10-19(_diskfs_translator_callback_fn):Miles Bader
Open the new translator's realnode read-only for now, since we know it doesn't matter and gratuitously writable nodes prevent us from starting up or going read-only. The fsys_startup interface should change very soon and make this irrelevant anyway.
1995-10-19(diskfs_startup_diskfs):Miles Bader
Call diskfs_readonly_changed if we're starting up writable.
1995-10-19(diskfs_common_options): New declaration.Miles Bader
1995-10-19(diskfs_S_fsys_set_options):Miles Bader
Hold DISKFS_FSYS_LOCK for writing while setting our own options, and for reading while setting our children's. Dereference PT even when a child filesystem returns an error.
1995-10-19(periodic_sync): Hold DISKFS_FSYS_LOCK for reading while syncing.Miles Bader
1995-10-19(diskfs_fsys_lock): Now a rwlock.Miles Bader
(diskfs_shutdown): Lock DISKFS_FSYS_LOCK for writing.
1995-10-19(startup_options): Remove options common to both runtime and startup.Miles Bader
(startup_common_argp, startup_argp_parents): New variables. (startup_argp): Include parents.
1995-10-19(_diskfs_rdwr_internal):Miles Bader
Pass the second protection arg to diskfs_get_filemap. Only map our i/o region with as much permission as we need.
1995-10-19(diskfs_set_options):Miles Bader
Rework readonly transition & remounting. Now they should actually work. (std_runtime_options): Remove options common to both runtime and startup. (diskfs_set_options): Use the common options.
1995-10-19Initial revisionMiles Bader
1995-10-19Initial revisionMiles Bader
1995-10-19Include <rwlock.h>Miles Bader
(diskfs_fsys_lock): Renamed from diskfs_shutdown_lock. Change to a struct rwlock. (diskfs_readonly_changed, diskfs_reload_global_state, diskfs_node_reload, diskfs_max_user_pager_prot, diskfs_set_readonly, diskfs_remount): New declarations. (diskfs_readonly_changed): New declaration. (disksf_get_filemap): Add prot parameter. (diskfs_main_request_loop): Declaration removed.
1995-10-18(diskfs_S_file_exec): Return EACCES for attempts to execute aMichael I. Bushnell
directory. Dike out totally bogus set[ug]id code. Bother to lock NP around critical section.
1995-10-13Initial revisionMiles Bader
1995-10-13(std_startup_options): Renamed from std_long_options; converted to argp format.Miles Bader
(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.
1995-10-13(diskfs_parse_runtime_options): Use argp instead of options.Miles Bader
1995-10-13(diskfs_startup_diskfs):Miles Bader
Call diskfs_start_bootstrap if we're the bootstrap file system.
1995-10-13(std_runtime_options): Renamed from long_options, convert to argp format.Miles Bader
(SHORT_OPTIONS): Removed. (diskfs_set_options): Converted to use argp.
1995-10-13(saved_argv): Variable removed.Miles Bader
(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.
1995-10-13(diskfs_start_bootstrap): Get rid of ARGV argument.Miles Bader
(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>.
1995-10-12(diskfs_execboot_fsys_startup): Use dir_lookup instead ofRoland McGrath
hurd_file_name_lookup to open /servers/exec.
1995-10-11(diskfs_init_completed): must --> may.Miles Bader
Add necessary includes.
1995-10-09(diskfs_execboot_fsys_startup): Fix typo in last change.Roland McGrath
1995-10-09(diskfs_execboot_fsys_startup): Pass back a port to /servers/exec in *REAL.Roland McGrath
1995-10-07(libdiskfs.so): Depend on libpager, libioserver, libfshelp, libthreads.Roland McGrath
1995-10-07(MIGSFLAGS): Variable deleted.Miles Bader
(fs-MIGSFLAGS, io-MIGSFLAGS, ifsock-MIGSFLAGS): New variables. (fsys-MIGSFLAGS): Also import fsmutations.h. (OTHERSRCS): Remove boot-parse.c; add filedev.c & machdev.c.
1995-10-07(OPT_BOOTFLAGS, OPT_EXEC_SERVER_TASK, OPT_HOST_PRIV_PORT,Miles Bader
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.
1995-10-07(diskfs_init_diskfs): Always use get_privileged_ports. Now return error_t.Miles Bader
1995-10-07(diskfs_S_fsys_getpriv): Use get_privileged_ports to get the privileged ports.Miles Bader
(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.
1995-10-07(diskfs_S_dir_link): Swap first two arguments.Miles Bader
1995-10-07(diskfs_host_priv, diskfs_master_device): Variables deleted.Miles Bader
(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.
1995-10-05(periodic_sync_lock): Variable removed.Roland McGrath
(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.
1995-09-18(FSSRCS): Deleted file-pathconf.c.Miles Bader
(IOSRCS): Added io-pathconf.c.
1995-09-18(diskfs_S_io_pathconf): Renamed from file_pathconf.c:diskfs_S_file_pathconf.Miles Bader
1995-09-17(diskfs_S_exec_startup): Don't pass an argument string.Roland McGrath
Set *FLAGS to EXEC_STACK_ARGS.
1995-09-17Renamed from file-trunate.c.Roland McGrath
(diskfs_S_file_set_size): Renamed from diskfs_s_file_truncate. If SIZE exceeds the file size, extend the file.
1995-09-17(FSSRCS): Rename file-truncate.c to file-set-size.c.Roland McGrath
1995-09-16(DIST_FILES): Added ourfs_notify.defs.Roland McGrath
(ourfs_notify_U.h ourfs_notifyUser.c, ourfs_notify.defs): Targets removed.
1995-09-16Initial revisionRoland McGrath
1995-09-13(diskfs_lookup): Doc fix.Michael I. Bushnell
1995-09-13(diskfs_clear_directory): Set the fourth arg in REMOVE lookup calls inMichael I. Bushnell
accord with change in rules for the lookup call.
1995-09-06(SRCS): Removed $(NOTIFYSRCS) and $(INTSRCS).Miles Bader
(NOTIFYSRCS, INTSRCS, notify-MIGSFLAGS): Removed. (MIGSTUBS): Removed notifyServer.o and interruptServer.o.