summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-02-21Implement proper handling of the filesystem `clean bit'.Roland McGrath
(ufs_clean): New variable. (get_hypermetadata): Set it from the fs_clean flag. If not clean, complain and force read-only. Complain when ignoring COMPAT_BSD42. (diskfs_set_hypermetadata): Set the clean flag in the superblock when CLEAN and fs was clean to start with. (copy_sblock): Remove bogus clean flag frobnication.
1996-02-20Add rule for `time', and add `time' to std.Miles Bader
1996-02-17(main): Check error return from diskfs_init_diskfs.Miles Bader
1996-01-30Grok `tty'.Roland McGrath
1996-01-27(trivfs_goaway):Miles Bader
Handle errors from ports_inhibit_class_rpcs. Allow rpcs to resume if we're going to return EBUSY.
1996-01-16(trivfs_modify_stat): The peropen hook holds a struct open, not a struct dev.Miles Bader
1996-01-06(diskpager, diskpagerport, disk_image): Variables removed.Roland McGrath
Include <hurd/diskfs-pager.h> instead. (sync_disk_blocks): Use `disk_pager' in place of `diskpager->p'.
1996-01-06(diskfs_shutdown_pager, diskfs_sync_everything): Use `disk_pager' in placeRoland McGrath
of `diskpager->p'. (create_disk_pager): Rewritten using disk_pager_setup.
1996-01-06(sync_disk): Use `disk_pager' in place of `diskpager->p'.Roland McGrath
1996-01-06(indir_release): Use `disk_pager' in place of `diskpager->p'.Roland McGrath
1996-01-06(diskfs_reload_global_state): Use `disk_pager' in place of `diskpager->p'.Roland McGrath
1996-01-05(get_hypermetadata, copy_sblock): Don't put diskfs_catch_exception ()Roland McGrath
inside assert, bonehead! Use assert_perror on a variable of its result.
1996-01-05(main): Don't map disk image here; create_disk_pager now does it.Roland McGrath
1996-01-01(pager_unlock_page): When allocating block in direct array, clear itMichael I. Bushnell
synchronously just like we do when it goes in the indirect array.
1995-12-30(std): Make `fd' one of the standard devices.Miles Bader
1995-12-15(ST): Variable holding the proper settrans command, which use.Miles Bader
(_CWD): Use this variable to pass down the current directory to sub MAKEDEVS. (console): Use the new term syntax. (tty[0-9]?|tty[0-9a-f]): New rule for normal ttys. ([pt]ty[pqPQ]?): New rule for ptys (both master and slave). ([pt]ty[pqPQ]): New rule for making sets of ptys.
1995-12-14(diskfs_lookup): If we are returning an error, then set the dirstat toMichael I. Bushnell
be ignored by drop_dirstat.
1995-12-04(trivfs_S_file_set_size, trivfs_S_file_sync,Miles Bader
trivfs_S_file_syncfs, trivfs_S_file_get_storage_info): Add totally gratuitous, annoying, and trouble-making reply-port args. (trivfs_S_file_get_storage_info): Use inline return if possible.
1995-11-09(struct dirstat): New member `nbytes'.Michael I. Bushnell
(dirscanblock): If DS->type is COMPRESS, still look for TAKE/SHRINK possibilities. Also, if it's COMPRESS, still look to see if the current block can be compressed with fewer byte copies.
1995-11-08(trivfs_S_file_set_size): Renamed from trivfs_S_file_truncate.Miles Bader
1995-11-06(diskfs_S_file_get_storage_info): Add FLAGS argument.Miles Bader
1995-11-06(main): Add FLAGS arg to diskfs_startup_diskfs call.Miles Bader
1995-11-06(main): Add FLAGS arg to trivfs_startup call.Miles Bader
1995-11-06(trivfs_S_file_get_storage_info): Add FLAGS argument.Miles Bader
1995-10-21(diskfs_max_user_pager_prot): Return what we discovered, instead of 1.Miles Bader
1995-10-19(main):Miles Bader
Exit with a non-zero status if we fixed anything. Use argp to parse options. (options): Converted to argp format. (args_doc): New variable. (USAGE, usage, SHORT_OPTIONS): Removed. Include <argp.h> instead of <getopt.h>.
1995-10-19($(target)): Depend on libshouldbeinlibc.a.Miles Bader
1995-10-19(flush_pokes): New function.Miles Bader
1995-10-19(diskfs_node_reload): New function.Miles Bader
(iget): Move allocsize setting into read_disknode.
1995-10-19(main):Miles Bader
Always include VM_PROT_WRITE in max prot. Move stuff into get_hypermetadata. Writable init code moved to diskfs_readonly_changed. (diskfs_reload_global_state): New function.
1995-10-19(struct user_pager_info): Add max_prot field.Miles Bader
(struct rwlock): Structure deleted. (rwlock_init, rwlock_reader_unlock, rwlock_reader_lock, rwlock_writer_lock, rwlock_writer_unlock): Functions deleted. (zeroblock, sblock, csum): Declare extern. (flush_node_pager, flush_pokes): New declarations.
1995-10-19(diskfs_get_filemap): Add PROT parameter, & use it.Miles Bader
(diskfs_pager_users): Split out block_caching & enable_caching. (block_caching, enable_caching, diskfs_max_user_pager_prot): New functions. (flush_node_pager): New function.
1995-10-19(diskfs_readonly_changed): New function.Miles Bader
(get_hypermetadata): Move compat_mode futzing & disk size validation here from main. Only allocate SBLOCK if not already done. Deallocate any old ZEROBLOCK and CSUM storage. (zeroblock, sblock, csum): Define (were common). (diskfs_readonly_changed): New function.
1995-10-19(diskfs_lookup, diskfs_dirempty): Give diskfs_get_filemap a protection arg.Miles Bader
1995-10-18(pfix): New function.Miles Bader
(pfatal, pwarn, errexit): Print DEVICE_NAME too if in preen mode. (pinode): Take a message & args to print as well.
1995-10-18Declare DEVICE_NAME.Miles Bader
Change declaration of pinode. Change LFNAME to char*.
1995-10-18(setup): Set DEVICE_NAME.Miles Bader
(lfname, lfmode): Variables moved to main.c.
1995-10-18(pass5): Call pfix instead of printf.Miles Bader
1995-10-18(pass4): If an unlinked file can't be reconnected, offer to clear it. Once aMiles Bader
reconnect attempt fails, don't try again. (pass4): Use changed pinode. (pass4): Call pfix instead of printf.
1995-10-18(pass3): Use changed pinode.Miles Bader
(pass3): Call pfix instead of printf.
1995-10-18(pass2): Adjust our record of link counts when we add/change dir entries;Miles Bader
also print error messages when we can't. (pass2): Use changed pinode. (pass2): Call pfix instead of printf.
1995-10-18(pass1): Only print progress report if not in preen mode.Miles Bader
(pass1): Change the extent of DBWARN & IBWARN so that they actually work. (pass1): Call pfix instead of printf.
1995-10-18(linkup): Print the value of LFNAME rather than `lost+found'.Miles Bader
(searchdir, changeino): Fix backward compare. (linkup): Don't fail when makeentry succeeds. (searchdir): Make searchdir return zero if there's an error during the search. (linkup): Print appropiate error messages if searchdir fails. (validdir): Get rid of extra newlines in error messages -- everyone who calls this routine prints extra information if it fails, which should immediately follow.
1995-10-18(main): Only print section headers if not in preen mode.Miles Bader
(main): Use getopt to parse command line options. (usage): New function. (options): New variable. (lfname, lfmode): Variables moved here from setup.c. (lfname): Made into a char* so that we can change it. (lfmode): Get rid of IFDIR; it's added when necessary.
1995-10-13(main): Use new handy diskfs routines and get rid of tons of junk. MainMiles Bader
should be almost all ufs-specific now. (USAGE, usage, SHORT_OPTS, long_opts, parse_opt, trans_parse_arg): RIP. (printf_lock): Initialize. (diskfs_init_completed): Function deleted (now in libdiskfs). (thread_cancel): Function deleted.
1995-10-13(SRCS): Remove devio.c.Miles Bader
1995-10-13(dev_read_sync, dev_write_sync, dev_write, diskpagersize): Decls removed.Miles Bader
1995-10-13(diskfs_set_hypermetadata):Miles Bader
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.
1995-10-13(pager_unlock_page, pager_write_page, pager_read_page):Miles Bader
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync. (pager_report_extent): Calculate the pager size.
1995-10-13(diskfs_grow):Miles Bader
Use diskfs_device_{read,write}_synce instead of dev_{read,write}_sync.