📄 changelog
字号:
Fix bug that caused serious headaches with fragmented files.Fri Mar 28 00:23:18 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version to 0.8.1. * btree.c, balloc.c: Commit map nodes to buffers when new map nodes are added.Thu Mar 27 22:41:07 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * Makefile: Include linux/modversions.h from the gcc command line. * mdb.c: Was updating modified date twice in hfs_mdb_commit(). * linux/hfs_sysdep.h, linux/hfs_fs.h, linux/hfs_fs_i.h, linux/hfs_fs_sb.h, sysdep.c, trans.c, super.c, hfs_sysdep.h, inode.c, hfs_fs_i.h, hfs_fs_sb.h, hfs_fs.h, hfs.h, file_cap.c, file_hdr.c, file.c, dir_nat.c, dir_cap.c, dir_dbl.c, Makefile, dir.c: Rearrange headers in preparation for inclusion in the kernel. * hfs_fs_sb.h, hfs_fs.h: Add forward declarations so other code can include these headers. * hfs_sysdep.h: Include __constant_hton[ls]() for little-endian machines. * hfs_fs.h, hfs_sysdep.h, hfs.h: Move typedefs of hfs_{byte,word,lword}_t from hfs.h to hfs_sysdep.h. Include hfs_sysdep.h from hfs_fs.h. * trans.c, super.c, part_tbl.c, string.c, inode.c, mdb.c, hfs_fs_sb.h, hfs_sysdep.h, hfs_fs.h, hfs.h, hfs_btree.h, file_cap.c, file_hdr.c, file.c, dir_nat.c, extent.c, dir_dbl.c, dir.c, dir_cap.c, catalog.c, btree.c, bnode.c, brec.c, bitmap.c, bitops.c, bins_del.c, binsert.c, bdelete.c, bfind.c, balloc.c: Big type system changes in preparation for kernel inclusion: '[US](8|16|32)' -> 'hfs_[us](8|16|32)' (avoids name space pollution) 'hfs_name_t' -> 'struct hfs_name' (allows forward declaration) * super.c, hfs_fs.h: Add init_hfs_fs() to super.c for non-module compilation.Wed Mar 26 07:53:59 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version to 0.8. * README.sgml: Special compilation note for DEC Alpha. * README.sgml: Note status on non-Intel processors. * hfs_fs.h: Use long's for read() and write() on the Alpha. * README.sgml: Document the afpd mount option. * inode.c: Make files always writable for owner in afpd mode.Tue Mar 25 23:21:39 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * part_tbl.c: Clean up the error checking code a bit.Sat Mar 22 19:43:40 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * part_tbl.c: Fixed uninitialized variable in old-style partition code. * bins_del.c, bdelete.c: Fix extraneous "bad argument to shift_{left,right}" messages. * bitops.c: Note that these routines are now tested on Intel, PPC and Alpha. * Makefile: Add -fno-builtin to the CFLAGS.Fri Feb 14 10:50:14 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * hfs_sysdep.h: Don't include <asm/*.h> until after <linux/types.h>. * catalog.c: Use volume create date in hashfn() rather than casting pointer to int. * hfs.h, mdb.c: Maintaing volume create, modify and backup dates in struct hfs_mdb. * hfs_fs.h: Include the header for put_user BEFORE using it! * string.c, hfs.h: Make hfs_strhash() return an unsigned int. * trans.c, version.c, super.c, mdb.c, part_tbl.c, string.c, inode.c, hfs_sysdep.h, hfs_fs.h, hfs_fs_sb.h, hfs_btree.h, hfs.h, file_cap.c, file_hdr.c, extent.c, dir_dbl.c, dir_nat.c, dir_cap.c, dir.c, catalog.c, btree.c, bnode.c, brec.c, bitmap.c, binsert.c, bins_del.c, bdelete.c, balloc.c, README.sgml, Makefile: Updated copyright notices. * trans.c, part_tbl.c, string.c, super.c, inode.c, mdb.c, hfs_fs.h, hfs_fs_sb.h, hfs_sysdep.h, hfs_btree.h, hfs.h, file_cap.c, file_hdr.c, dir_nat.c, extent.c, dir_cap.c, dir_dbl.c, catalog.c, dir.c, brec.c, btree.c, bitmap.c, bnode.c, bdelete.c, bins_del.c, binsert.c, Makefile, TODO, balloc.c: First shot at portability to the DEC Alpha and non-gcc compilers. This involved a significant overhaul of the type system.Tue Feb 4 04:26:54 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * version.c, README.sgml: Bump version to "pre-0.8-4". * dir_nat.c: Allow creat() in Netatalk .AppleDouble directories. * dir_dbl.c: Make local functions static. * dir_dbl.c: Removed unnecessary 'extern' qualifiers from forward declarations. * file_hdr.c, TODO: Fixed the 30-year time warp with afpd. * TODO, trans.c: Don't mangle the name .AppleDesktop under fork=netatalk.Mon Feb 3 23:18:45 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * inode.c: Make header files always writable when the afpd mount option is given. Otherwise it is impossible to unlock a locked file. * TODO, inode.c: Let afpd think chmod() always succeeds, so "New Folder" works right. * super.c: The 'afpd' mount option now makes 'fork=n,names=n' the default. * TODO: List the current known afpd-compatibility problems as bugs. * file_hdr.c: Make certain date changes through header files get written to disk.Sat Feb 1 02:24:12 1997 Paul H. Hargrove <hargrove@sccm.stanford.edu> * mdb.c: Work around for Linux rounding device sizes to 1k increments. * README.sgml: Fixed a typo: "the a".Sat Dec 28 20:41:01 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * TODO: Add ioctl() interface as a "missing feature." * dir_nat.c: Finish implementing the afpd-compatibility mode using the new 'afpd' mount option. * hfs_fs_sb.h, super.c: Add new 'afpd' mount option. * file_cap.c: Spelling fix.Wed Dec 11 23:16:08 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * TODO, README.sgml: Optimistically document the hybrid CD problem as fixed. * part_tbl.c: Fix the partition code so at least some of the hybrid CDROMs that were previously rejected are now accepted. * hfs.h: Make fs_start a 32-bit integer rather than 16-bits. The 16-bit value would overflow if a partition started beyond the 32M mark (e.g. the Executor 2 Beta 1 CDROM). * extent.c: Fixed a typo in an error message.Tue Dec 10 14:43:46 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * dir_nat.c: Merge in the (still dormant) afpd-compatibility changes. * inode.c: Make the .AppleDouble directory writable (again). * version.c, README.sgml: Bump version up to "pre-0.8-3". * hfs_fs.h, file_cap.c, file_hdr.c: Move AFP constants to hfs_fs.h and prefix them with "HFS_". * dir_nat.c, inode.c: Back-out changes that allowed writing to the .AppleDouble directory. * Makefile: Update rules for linuxdoc-sgml v1.5. * extent.c: Fixed serious bug in decode_extent() with handling of empty extents. * file.c: Rewrote hfs_getblk(). It will no longer hang if hfs_extent_map() is buggy. Also halves the worst-case number of calls to hfs_extent_map(). * extent.c: Fixed serious bug in decode_extent() with handling of empty extents. * hfs_fs.h: Small change so the PPC (and maybe other architectures?) pick up the prototypes for the user-space access functions. * super.c, file_cap.c, file_hdr.c, hfs_fs.h, file.c: Updated for new user-space memory interface.Sun Dec 8 11:49:36 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * dir_nat.c: Add special code for unlink(), and rename() in the .AppleDouble directory and rmdir() of the .AppleDouble directory. * inode.c: Make the .AppleDouble directory writable. * file_hdr.c: Use AFP flags in version 1 headers (for Netatalk compatibility). * trans.c: Fixed bug with long names causing kernel Oops.Mon Oct 7 06:05:01 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * hfs_fs.h, file_cap.c, file_hdr.c, hfs.h, extent.c, file.c, dir.c: Fix types for various read/write/truncate computations. Also allows compilation with 2.1.x kernels.Thu Sep 19 10:28:43 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * README.sgml, version.c: Bump version up to "pre-0.8-2". * TODO: Reformat the To Do list introducing prioritized categories. * file_hdr.c, file.c: Move comments about mmap() for headers from file.c to file_hdr.c. Also revise the reasoning for not yet having it implemented. * dir_nat.c, dir_cap.c, dir_dbl.c: Remove 'hfs_' prefix from names of some purely local functions. * dir_dbl.c, TODO: Under AppleDouble make create(), mkdir(), mknod(), unlink(), rename() and rename() check against header files when arguments start with '%'. * super.c, hfs_fs_sb.h, hfs_fs.h, dir_dbl.c, dir_nat.c, dir_cap.c, dir.c, README.sgml: Fix problem that prevented creating %RootInfo or .rootinfo in all directories in addition to preventing deletion from the root directory. * TODO: Remove writable header files from the To Do list. * README.sgml: Add extensive discussion of writing to HFS filesystems and the format of the special files. * file_hdr.c: Generate the 'homefs' field for version 1 header files.Wed Sep 18 23:07:45 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * hfs_fs.h, file_cap.c: Comment the definition of (struct hfs_cap_info). * version.c, README.sgml: Bump version up to "pre-0.8-1" and update the "How can I write?" FAQ. * file_hdr.c: Implement hdr_write() and hdr_truncate()!! * hfs_fs_i.h, inode.c: Make hdr_layout per-inode (not per-file) so hdr_truncate() will work. * file.c, hfs.h, catalog.c, extent.c, balloc.c: hfs_extent_adj() now uses fork->lsize to determine the target file size.Sun Sep 15 07:55:24 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * README.sgml, trans.c: Prevent creation of files & directories with '\0' or ':' in their names. * string.c, hfs_fs.h, hfs.h, dir_dbl.c, dir_nat.c, dir_cap.c: With case=lower could have run off end of string.Tue Sep 10 12:05:47 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * inode.c: Small clean up of HFS_FIL_LOCK handling. * inode.c: Fix notify_change() not to accidentally make metadata executable. * hfs_fs.h: AppleSingle files should have HFS_ITYPE_NORM. * inode.c: Return to old behavior where MdDat = i_mtime. * dir_dbl.c: Fix serious bug in hfs_dbl_readdir() that would lock-up access to a directory if one tried to write to a directory they had previously read. * file.c: Fix hfs_do_write() to adjust the fork's 'lsize' if it changed. * inode.c, file_cap.c: Allow truncate() to be called even on metadata. Any size changes will last only until the next iput() of the inode. Truncating a header file doesn't yet truncate the resource fork. * inode.c: Allow chmod() on a directory if it doesn't actually change i_mode. * hfs_fs.h, trans.c, super.c: Rename hfs_cap2mac() to hfs_colon2mac(). Rename hfs_apl2mac() to hfs_prcnt2mac(). * file_hdr.c: Move header construction out of hdr_read() to create hdr_build_meta(). * hfs.h: Add byte-order independent conversions: U32->U16, U32->U8 and U16->U8. * file.c, file_cap.c, hfs_fs.h: Rename fix_perms() to hfs_file_fix_mode() and move it from file_cap.c to file.c. * README.sgml, super.c: Make the default for the names mount option vary with the fork option. * file_cap.c: The umask was applied incorrectly in fix_perms().Mon Sep 9 13:11:28 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * README.sgml: Note that it compiles on m68k machines, but needs more testing. * hfs_sysdep.h, Makefile: Changes to compile unmodified on m68k (and possibly other machines). * dir_cap.c: hfs_cap_readdir() was mistakenly producing .rootinfo entries for the .finderinfo and .resource subdirectories of the root directory. * inode.c: A directory's i_size was too small by 1 under CAP, so hfs_cap_readdir() would omit the last directory entry. i_nlink was also too large by 1.Sun Sep 8 12:56:06 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * file_hdr.c: Rewrite hdr_read() to be more efficient and to deal correctly with descriptors having lengths that differ from the actual size of the data. * file_cap.c: Add write support for CAP finderinfo files!! * super.c, inode.c, hfs_fs.h, hfs_fs_i.h, hfs_fs_sb.h, file_dbl.c, file_nat.c, file_hdr.c, file.c, file_cap.c, Makefile, dir.c: Generate metadata (header files and CAP finderinfo files) on-the-fly. The files file_{dbl,nat}.c are merged into file_hdr.c as a result.Sat Sep 7 08:09:24 1996 Paul H. Hargrove <hargrove@sccm.stanford.edu> * README.sgml: Fix silly grammatical error.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -