Corrected falsely computed default setting of -file_size_limit

This commit is contained in:
Thomas Schmitt 2008-09-16 18:52:58 +00:00
parent aecab9aa89
commit 5f469fb305
3 changed files with 8 additions and 5 deletions

View File

@ -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.

View File

@ -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;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.09.16.060427"
#define Xorriso_timestamP "2008.09.16.185206"