summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
1995-10-13(diskfs_S_file_get_storage_info): Use DISKFS_DEVICE instead of UFS_DEVICE,Miles Bader
and DISKFS_DEVICE_NAME instead of UFS_DEVICE_NAME.
1995-10-11(trivfs_S_file_get_storage_info):Miles Bader
Change type of ADDRESSES to off_t **, and add BLOCK_SIZE parameter.
1995-10-07(diskfs_S_file_get_storage_info):Miles Bader
Change type of ADDRESSES to off_t **, and add the BLOCK_SIZE parameter.
1995-10-05(diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize.Miles Bader
fsys_stb_fsize -> fsys_stb_bsize.
1995-10-04(struct dev): Add the NAME field.Miles Bader
1995-10-04(open_write, open_read): Get rid of debugging noise.Miles Bader
1995-10-04(dev_open, dev_sync, dev_write, dev_read): Get rid of debugging noise.Miles Bader
1995-10-04(position): Get rid of debugging noise.Miles Bader
1995-10-04(pager_write_page, pager_read_page): Get rid of debugging noise.Miles Bader
1995-10-04(trivfs_S_file_syncfs, trivfs_S_file_sync): Get rid of debugging noise.Miles Bader
1995-10-04(main, trivfs_S_fsys_syncfs): Get rid of debugging noise.Miles Bader
1995-10-04(parse_opt): Rearrange slightly.Miles Bader
1995-10-01(trivfs_S_file_get_storage_info): New function.Miles Bader
1995-10-01(dev_open): Record NAME in the returned dev structure.Miles Bader
1995-09-26Include <netinet/in.h>.Michael I. Bushnell
Fix trivial errors in previous change.
1995-09-26(diskfs_S_file_get_storage_info): New function.Michael I. Bushnell
1995-09-26(main): Delete var `devname'. Use `ufs_device_name' throughoutMichael I. Bushnell
instead.
1995-09-26(ufs_device_name): New var.Michael I. Bushnell
1995-09-22(LDFLAGS): New variable.Miles Bader
1995-09-22(get_hypermetadata): Use %Zd format for result of sizeof.Roland McGrath
1995-09-21If not in $srcdir, produce */Makefile from build.mk.in.Roland McGrath
1995-09-17(target): Changed to `mkfs.ufs'.Miles Bader
(installationdir): New variable, install into $(sbindir).
1995-09-17(target): Changed to `fsck.ufs'.Miles Bader
(installationdir): New variable, install into $(sbindir).
1995-09-16Initial revisionRoland McGrath
1995-09-13(diskfs_lookup): Require NPP set for RENAME too.Michael I. Bushnell
1995-09-13(diskfs_lookup): Don't attempt to lock NP if NPP is not set. Don'tMichael I. Bushnell
even set NP if NPP is not set; use INUM as "lookup succeeded flag" instead. Lookups for REMOVE now *must* set NPP.
1995-09-11(CCVERSION): Changed to 2.7.1.Miles Bader
(CCVERSION-duality.gnu.ai.mit.edu): Removed.
1995-09-06(diskfs_pager_users): Ignore the disk pager when seeing if there are anyMiles Bader
active pagers.
1995-08-28(ufs): Depend on ../libshouldbeinlibc/libshouldbeinlibc.a.Roland McGrath
1995-08-25(indir_release): When freeing direct blocks mentioned in a singleMichael I. Bushnell
indirect block, or single indirect blocks mentioned in a double, only call the free routine (ffs_blkfree or indir_release, respectively) if the block is actually allocated.
1995-08-24(trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader
(trivfs_modify_stat): Get the device from CRED now that we have it.