From d7864bd13c821d360b218c5865c6fb35257c0847 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 16 Sep 2008 18:52:58 +0000 Subject: [PATCH] Corrected falsely computed default setting of -file_size_limit --- xorriso/xorriso.1 | 4 ++-- xorriso/xorriso_private.h | 7 +++++-- xorriso/xorriso_timestamp.h | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/xorriso/xorriso.1 b/xorriso/xorriso.1 index 8d5eb7cd..6082a2e6 100644 --- a/xorriso/xorriso.1 +++ b/xorriso/xorriso.1 @@ -1104,7 +1104,7 @@ Set the maximum permissible size for a single data file. The values get summed up for the actual limit. If the only value is "off" then the file size is not limited by xorriso. Default is a limit of 100 extents, 4g -2k each: .br - -file_size_limit 400g -800k -- + -file_size_limit 400g -200k -- .br When mounting ISO 9660 filesystems, old operating systems can handle only files up to 2g -1 --. Newer ones are good up to 4g -1 --. @@ -1911,7 +1911,7 @@ and byte_offset must be a multiple of 2048, e.g. an integer with suffix s, m, or g. .br This option is implemented by a special run of -check_media and governed by -most of the options which can be set iby -check_media_defaults. +most of the options which can be set by -check_media_defaults. Its main purpose is to allow handling of large files if they are not supported by mount -t iso9660 and if the reading system is unable to buffer them as a whole. diff --git a/xorriso/xorriso_private.h b/xorriso/xorriso_private.h index 85a4c57d..092eaaa1 100644 --- a/xorriso/xorriso_private.h +++ b/xorriso/xorriso_private.h @@ -66,9 +66,10 @@ struct SectorbitmaP; /* Distiniction between valid and invalid sectors */ /* Default setting for the size limit of single data files: - 100 extents with 4 GB - 2 kB each = 400 GB - 800 kB */ + 100 extents with 4 GB - 2 kB each = 400 GB - 200 kB +*/ #define Xorriso_default_file_size_limiT \ - (((off_t) 400) * ((off_t) 1024*1024*1024) - (off_t) 819200) + (((off_t) 400) * ((off_t) 1024*1024*1024) - (off_t) 204800) struct XorrisO { /* the global context of xorriso */ @@ -657,6 +658,8 @@ int Findjob_get_start_path(struct FindjoB *o, char **start_path, int flag); int Findjob_get_lba_damage_filter(struct FindjoB *o, int *start_lba, int *end_lba, int *damage_filter, int flag); +int Findjob_get_commit_filter(struct FindjoB *o, int *commit_filter, int flag); + struct SplitparT; diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 7b326a17..c001ec02 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.09.16.060427" +#define Xorriso_timestamP "2008.09.16.185206"