📄 changelog
字号:
have permissions to open a directory. * write.c (xfwrite): New function - wrapper for fwrite, except that we print message and punt if write fails. * write.c: Move include of mkisofs.h and iso9660.h until after string.h and stdlib.h is included. * write.c: Do not attempt to use strerror on sun systems.Thu Dec 9 13:17:28 1993 R.-D. Marzusch (marzusch@odiehh.hanse.de) * exclude.c, exclude.h: New files. Contains list of files to exclude from consideration. * Makefile: Compile exclude.c, add dependencies to other files. * mkisofs.8: Describe -x option. * mkisofs.c: Include exclude.h, handle -x option.Fri Dec 10 01:07:43 1993 Peter van der Veen (peterv@qnx.com) * mkisofs.c, mkisofs.h: Moved declaration of root_record. * mkisofs.h: Added prototype for get_733(). * write.c(iso_write), tree.c, rock.c(generate_rock_ridge_attributes): Added defines for QNX operation system * rock.c(generate_rock_ridge_attributes): symbolic links should not have CONTINUE component flag set unless there are multiple component records, and mkisofs does not generate these. st_ctime was stored as the creation time, changed to attribute time. QNX has a creation time, so that is stored as well under QNX. Thu Oct 28 19:54:38 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.99. * write.c(iso_write): Put hour, minute, second into date fields in volume descriptor. * write.c (iso_write): Set file_structure_version to 1, instead of ' ' (Seems to screw up Macs).Sun Oct 17 01:13:36 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.98. Increment nlink in root directory when rr_moved directory is present. * tree.c (increment_nlink): New function. * tree.c (finish_cl_pl_entries): Call increment_nlink for all references to the root directory. * tree.c (root_statbuf): New variable. * tree.c (scan_directory_tree): Initialize root_statbuf when we stat the root directory. * tree.c (generate_reloc_directory): Use root_statbuf when generating the Rock Ridge stuff for the ".." entry in the reloc_dir. * tree.c (scan_directory_tree): Use root_statbuf when generating the ".." entry in the root directory.Sat Oct 16 10:28:30 1993 Eric Youngdale (eric@kafka) Fix path tables so that they are sorted. * tree.c (assign_directory_addresses): Move to write.c * write.c (generate_path_tables): Create an array of pointers to the individual directories, and sort it based upon the name and the parent path table index. Then update all of the indexes and repeat the sort until the path table indexes no longer need to be changed, and then write the path table. Fix problem where hard links were throwing off the total extent count. * write.c (iso_write): Call assign_file_addresses, and then use last_extent to determine how big the volume is. * write.c (generate_one_directory): Decrement n_data_extents for hard links to non-directories so that the expected number of extents is written correctly. * write.c(assign_file_addresses): New function.Fri Oct 15 22:35:43 1993 Eric Youngdale (eric@kafka) The standard says we should do these things: * tree.c (generate_reloc_directory): Add RR attributes to the rr_moved directory. * mkisofs.c(main): Change ER text strings back to recommended values.Tue Oct 12 21:07:38 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.97. * tree.c (scan_directory_tree): Do not insert PL entry into root directory record (i.e. !parent) * tree.c (finish_cl_pl_entries): Do not rely upon name comparison to locate parent - use d_entry->self instead, which is guaranteed to be correct. * mkisofs.h: New variable n_data_extents. * tree.c: Declare and initialize n_data_extents to 0. (scan_directory_tree) for non-directories, add ROUND_UP(statbuf.st_size) to n_data_extents. (sort_n_finish): Increment n_data_extents for translation tables, as appropriate. * write.c(iso_write): Add n_data_extents to the volume_space_size field. * hash.c(add_hash): If size != 0 and extent == 0, or if size == 0 and extent != 0, then complain about inserting this into the hash table. Kind of a sanity check.Sat Oct 9 16:39:15 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.96. Numerous bugfixes, thanks to a one-off disc from rab@cdrom.com. * write.c(generate_one_directory): Wait until after we have filled in the starting_extent field to s_entry before calling add_hash. This fixes a problem where the hash table gets an extent of 0 for all regular files, and this turns up when you have hard links on the disc. (The hash table allows us to have each hard link point to the same extent on the cdrom, thereby saving some space). * tree.c(scan_directory_tree): Set statbuf.st_dev and statbuf.st_ino to the UNCACHED numbers for symlinks that we are not following. This prevents the function find_hash from returning an inode that cooresponds to the file the symlink points to, which in turn prevents generate_one_directory from filling in a bogus file length (should be zero for symlinks). * tree.c(scan_directory_tree): Always call lstat for the file so that non-RockRidge discs get correct treatment of symlinks. Improve error message when we ignore a symlink on a non-RR disc. * write.c(generate_one_directory): Set fields for starting_extent and size in the "." and ".." entries before we add them to the file hash. Fixes problems with incorrect backlinks for second level directories.Wed Oct 6 19:53:40 1993 Eric Youngdale (eric@kafka) * write.c (write_one_file): Print message and punt if we are unable to open the file. * tree.c(scan_directory_tree): For regular files, use the access function to verify that the file is readable in the first place. If not, issue a warning and skip it. For directories, it probably does not matter, since we would not be able to descend into them in the first place.Wed Sep 29 00:02:47 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.95. * write.c, tree.c: Cosmetic changes to printed information. * tree.c(scan_directory_tree): Set size to zero for special stub entries that correspond to the relocated directories. Hopefully last big bug. * mkisofs.h: Change TABLE_INODE, UNCACHED_* macros to be 0x7fff... to be compatible with signed datatypes.Mon Sep 27 20:14:49 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.94. * write.c (write_path_tables): Actually search the directory for the matching entry in case we renamed the directory because of a name conflict. * tree.c(scan_directory_tree): Take directory_entry pointer as second argument so that we can create a backpointer in the directory structure that points back to the original dir. * mkisofs.c: Fix call to scan_directory_tree to use new calling sequence. * write.c(generate_one_directory): Punt if the last_extent counter ever exceeds 700Mb/2048. Print name of responsible file, extent counter, and starting extent. Perhaps we can catch it in the act.Sun Sep 26 20:58:05 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.93. * tree.c(scan_directory_tree): Handle symlinks better. Either leave them as symlinks, or erase any trace that they were a symlink but do not do it 1/2 way as before. Also, watch for directory loops created with symlinks. * mkisofs.h: Add new flag follow_links. * mkisofs.c: Add command line switch "-f" to toggle follow_links. * mkisofs.8: Document new switch. * tree.c: Add code to handle symlinks using new flag. * hash.c: Add add_directory_hash, find_directory_hash functions. * mkisofs.h: Add prototypes.Sat Sep 25 14:26:31 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.92. * mkisofs.c: Make sure path is an actual directory before trying to scan it. * mkisofs.h: Add DECL and FDECL? macros for sparc like systems. Do proper define of optind and optarg under SVr4. * tree.c: Change translation table name from YMTRANS.TBL to TRANS.TBL. * mkisofs.c: Neaten up message in extension record when RRIP is in use. * Throughout - change all function declarations so that traditional C compilers (i.e. sparc) will work. * Makefile: Change to use system default C compiler. * mkisofs.c: Add some stuff so that this will compile under VMS. Many things missing for VMS still. * iso9660.h: Do not use zero length array in struct definition. * tree.c (sort_n_finish): Account for this. * Change copyright notice.Wed Aug 25 08:06:51 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.91. * mkisofs.h: Only include sys/dir.h for linux. Other systems will need other things. * mkisofs.c, tree.c: Include unistd.h. * Makefile: Use OBJS to define list of object files.Sun Aug 22 20:55:17 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.9. * write.c (iso_7*): Fix so that they work properly on Motorola systems. Fri Aug 20 00:14:36 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.8. * rock.c: Do not mask off write permissions from posix file modes.Wed Aug 18 09:02:12 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.7. * rock.c: Do not write NM field for . and .. (redundant and a waste of space). * mkisofs.c: Take -P and -p options for publisher and preparer id fields. * write.c: Store publisher and preparer id in volume descriptor. * rock.c: Write optional SP field to identify SUSP. Write optional CE field to point to the extension header. * tree.c: Request SP and CE fields be added to root directory. * tree.c: Fix bug in name conflict resolution. * write.c: Fill in date fields in the colume descriptor. * write.c (write_one_file): If the file is large enough, write in chunks of 16 sectors to improve performance. * hash.c (add_hash, find_hash, etc): Do not hash s_entry, instead store relevant info in hash structure (we free s_entry structs as we write files, and we need to have access to the hash table the whole way through. * write.c: Add a few statistics about directory sizes, RR sizes, translation table sizes, etc. * tree.c: Use major, not MAJOR. Same for minor. Define S_ISSOCK and S_ISLNK if not defined. * rock.c: Define S_ISLNK if not defined. * mkisofs.c: Print out max memory usage. Fix bug in call to getopt. * mkisofs.c, Makefile (version_string): Bump to 0.6. * tree.c: Simplify the calculation of isorec.len, isorec.name_len and the calculation of the path table sizes by doing it all at one point after conflict resolution is done. * tree.c: scan_directory_tree is now responsible for generating the line that goes into the YMTRANS.TBL file. These lines are collected later on into something that will be dumped to the file. Correctly handle all of the special file types.Mon Aug 16 21:59:47 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.5. * mkisofs.c: Add -a option (to force all files to be transferred). Remove find_file_hash stuff. * write.c: Pad length even if Rock Ridge is not in use. * hash.c: Rewrite hash_file_* stuff so that it can be used to easily detect (and look up) filenames that have been accepted for use in this directory. Used for name collision detection. * tree.c (sort_n_finish): If two names collide, generate a unique one (verified with the hash routines). Change the lower priority name if there is a difference.Sat Aug 14 13:18:21 1993 Eric Youngdale (eric@kafka) * mkisofs.c, Makefile (version_string): Bump to 0.4. * tree.c (load_translation_table): New function - read YMTRANS.TBL. (scan_directory_tree) Call it. * mkisofs.c (iso9660_file_length): Call find_file_hash to see if translated name is specified. If so, use it. * hash.c (name_hash, add_file_hash, find_file_hash, flush_file_hash): New functions for hashing stuff from YMTRANS.TBL. * mkisofs.h: Add a bunch of prototypes for the new functions. * mkisofs.8: Update. * mkisofs.c, Makefile (version_string): Bump to 0.3. * Makefile: Add version number to tar file in dist target. * mkisofs.c: Call finish_cl_pl_entries() after directories have been generated, and extent numbers assigned. * write.c (generate_one_directory): Update s_entry->size for directories (as well as isorec.size). * rock.c: Add code to generate CL, PL, and RE entries. The extent numbers for the CL and PL entries are NULL, and these are filled in later once we know where they actually belong. * mkisofs.h: Add parent_rec to directory_entry. Used to fix CL/PL stuff. * tree.c (scan_directory_tree): Set flag to generate CL/PL/RE entries as required, update sizes as well.Fri Aug 13 19:49:30 1993 Eric Youngdale (eric@kafka) * mkisofs.c (version_string): Bump to 0.2. * hash.c: Do not use entries with inode == 0xffffffff or dev == 0xffff. * write.c (write_path_tables): Strip leading directory specifications. * mkisofs.h: Add definition for reloc_dir symbol. Add prototype for sort_n_finish, add third parameter to scan_directory_tree (for true parent, when directories are relocated). * mkisofs.c (main): Modify call to scan_directory_tree. Call sort_n_finish for reloc_dir. * tree.c (sort_n_finish): New function - moved code from scan_directory_tree. * tree.c (generate_reloc_directory): New function. Generate directory to hold relocated directories. * tree.c (scan_directory_tree): Strip leading directories when generating this_dir->name. If depth is too great, then move directory to reloc_dir (creating if it does not exist, and leave a dummy (non-directory) entry in the regular directory so that we can eventually add the required Rock Ridge record. * tree.c (scan_directory_tree): Use s_entry instead of sort_dir, assign to this_dir->contents sooner.Thu Aug 12 22:38:17 1993 Eric Youngdale (eric@kafka) * mkisofs.c (usage): Fix syntax. * mkisofs.c (main): Add new argument to scan_directory_tree * tree.c (scan_directory_tree): If directory is at depth 8 or more, create rr_moved directory in main directory.Mon Jul 26 19:45:47 1993 Eric Youngdale (eric@kafka) * mkisofs v 0.1 released.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -