summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-06-27Initial revisionMiles Bader
1996-06-27(fsck):Miles Bader
Fsck pass 0 if not in automatic mode. Respect `noauto' option in automatic mode. (fs_start_fsck): When deciding to use a flags arg, mask flags against an explicit list of valid ones. (FSCK_F_AUTO): New macro. (main): Set FSCK_F_AUTO flag if in automatic mode.
1996-06-26(main): Use &NETFS_STD_STARTUP_ARGP insteda of NETFS_STARTUP_ARGP.Miles Bader
(netfs_get_options): New function. (runtime_argp_parents, runtime_argp, netfs_runtime_argp): New variables. (netfs_parse_runtime_options, netfs_unparse_runtime_options): Functions removed.
1996-06-26Initial revisionMiles Bader
1996-06-26(OTHERSRCS):Miles Bader
Add runtime-argp.c, std-runtime-argp.c, & std-startup-argp.c. Remove parse-runtime-options.c & unparse-runtime-options.c.
1996-06-26(netfs_get_options): Call netfs_append_std_options.Miles Bader
1996-06-26(netfs_S_fsys_set_options): Don't convert options string into argv vector.Miles Bader
1996-06-26(std_runtime_options): Variable removed.Miles Bader
(parse_runtime_opt): Function removed. (netfs_set_options): Change to use fshelp_set_options.
1996-06-26Change options parsing interface to match libdiskfs's:Miles Bader
(netfs_set_options, netfs_get_options): Updated to inew interface. (netfs_append_std_options): New declaration. (netfs_runtime_argp, netfs_std_runtime_argp, netfs_std_startup_arg): New variables. (netfs_parse_runtime_options, netfs_unparse_runtime_options): Functions removed.
1996-06-26(netfs_S_fsys_get_options):Miles Bader
Use fshelp_return_malloced_buffer to prepare return value.
1996-06-26(netfs_S_file_get_fs_options):Miles Bader
Use fshelp_return_malloced_buffer to prepare return value.
1996-06-26(S_auth_makeauth):Miles Bader
Don't special-case the 0 explicit ids case (it used to merge in all the ids from passed in auth-handles in that case).
1996-06-26(parse_opt): Add hair to share arg parsing state between two parsers that useMiles Bader
the same parse_opt function at the same time.
1996-06-25(main, options): Add --writable/-w option.Miles Bader
(FSCK_F_WRITABLE): New macro. (struct fsck): Rename WAS_READONLY field to MAKE_WRITABLE. (fscks_start_fsck): Change to set make_writable field instead of was_readonly. (fsck_cleanup): Change RESTORE_WRITABLE to MAKE_WRITABLE. (fscks_wait): Likewise.
1996-06-25Use --writable flag to fsck too.Miles Bader
1996-06-25(%: %.sh): Make target writable.Miles Bader
1996-06-25Use real fsck instead of kluge.Miles Bader
1996-06-25(parse_opt):Miles Bader
Fix test for address-less netmask. Fix byte order when using IN_* macros. Base default netmask on dev->pa_addr, not in->address. Don't clear dev->pa_addr. Delete old routing entries before adding new ones. (trivfs_get_options): Add & use ADD_ADDR_OPT macro. (parse_hook_add_interface): Initialize H->curint->device. (trivfs_get_options): Initialize *ARGZ & *ARGZ_LEN.
1996-06-25(ip_rt_del): New declaration.Miles Bader
1996-06-25(ip_rt_del): New function.Miles Bader
(rt_del): Renamed from ip_rt_del. (rt_kill): Call rt_del, not ip_rt_del.
1996-06-25(diskfs_cached_lookup): Use diskfs_check_readonly instead of diskfs_readonly.Miles Bader
1996-06-25(diskfs_grow): Add call diskfs_check_readonly to clear clean bit.Miles Bader
1996-06-25(diskfs_shutdown_pager): Don't shutdown the disk pager, just sync it.Miles Bader
(diskfs_sync_everything): Call sync_global instead of pokel_sync. (final_sblock): Variable removed.
1996-06-25(diskfs_lookup_hard, diskfs_dirempty):Miles Bader
Use diskfs_check_readonly instead of diskfs_readonly.
1996-06-25(diskfs_truncate): Add call diskfs_check_readonly to clear clean bit.Miles Bader
1996-06-25(diskfs_readonly_changed): No longer clear the clean bit.Miles Bader
(diskfs_set_hypermetadata): Work correctly.
1996-06-25(sync_global):Miles Bader
Renamed from sync_global_data. Add WAIT flag. Don't call diskfs_set_hypermetadata. (alloc_sync): Call diskfs_set_hypermetadata instead of sync_global_data. (sync_super_block): Function removed.
1996-06-25(ip_rt_del): Renamed from rt_del.Miles Bader
(rt_kill): Use ip_rt_del instead of rt_del.
1996-06-25(rt_del): Export.Miles Bader
1996-06-25(diskfs_get_options): Include `--compat=' in options.Miles Bader
1996-06-24(main): Fix heuristic to decide whether native booted.Miles Bader
1996-06-24(check_high_bits, diskfs_validate_owner_change,Miles Bader
diskfs_validate_group_change, diskfs_validate_mode_change, diskfs_validate_author_change): New functions. (write_node): For non-hurd filesystems, assert that no hurd extensions should be used.
1996-06-24(sigterm_handler):Miles Bader
Renamed from sighup_handle. Make void. Deal with SIGTERM instead of SIGHUP. (main): Use SIGTERM & sigterm_handler instead of SIGHUP &c.
1996-06-24(diskfs_lookup_hard): Use diskfs_check_readonly instead ofMichael I. Bushnell
diskfs_readonly. (diskfs_dirempty): Likewise.
1996-06-24(diskfs_cached_lookup): Use diskfs_check_readonly instead of diskfs_readonly.Michael I. Bushnell
(read_symlink_hook): Likewise.
1996-06-24(diskfs_truncate): Call diskfs_check_readonly.Michael I. Bushnell
(diskfs_grow): Likewise.
1996-06-24(diskfs_set_hypermetadata): If CLEAN is not set, make sure we clearMichael I. Bushnell
the clean bit on disk. Always call sync_disk (with appropriate WAIT). (diskfs_readonly_changed): Don't do set_hypermetadata here. (copy_sblock): Don't track clean state here.
1996-06-24(diskfs_S_startup_dosync): Don't crash the filesystem, just do a cleanMichael I. Bushnell
sync.
1996-06-24(parse_hook_add_interface): Realloc the correct number of bytes.Miles Bader
(parse_opt): Don't fail if there were no options. (RETURN): New macro. (PERR, FAIL): Use RETURN instead of return to free memory if nec.
1996-06-24(diskfs_remount): Use diskfs_check_readonly instead ofMichael I. Bushnell
diskfs_readonly.
1996-06-24(diskfs_drop_node): Call diskfs_check_readonly before making mods.Michael I. Bushnell
1996-06-24(diskfs_check_readonly): And do it synchronously.Michael I. Bushnell
1996-06-24(diskfs_shutdown_pager): Don't shutdown DISKPAGER ever, just sync itMichael I. Bushnell
instead.
1996-06-24(_diskfs_diskdirty): New var.Michael I. Bushnell
(diskfs_check_readonly): New function. (diskfs_set_readonly): After clean sync, clear _diskfs_diskdirty.
1996-06-24change name to _diskfs_diskdirty.Michael I. Bushnell
1996-06-24(_diskfs_diskclean): New variable.Michael I. Bushnell
1996-06-24(_diskfs_rdwr_internal): Use diskfs_check_readonly instead of diskfs_readonly.Michael I. Bushnell
1996-06-24(diskfs_create_node): Use diskfs_check_readonly instead of diskfs_readonly.Michael I. Bushnell
1996-06-24(diskfs_S_fsys_getroot): Use diskfs_check_readonly instead of diskfs_readonly.Michael I. Bushnell
1996-06-24(diskfs_S_file_set_translator): Use diskfs_check_readonly instead of ↵Michael I. Bushnell
diskfs_readonly.