From 416e367d384c7bcc4976a68f9f5042e3c77d0c50 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 27 Aug 2024 11:07:11 +0200 Subject: [PATCH] Changed -for_backup to imply -lfa_flags "import_only_settable" --- xorriso/parse_exec.c | 2 +- xorriso/xorriso.1 | 4 +- xorriso/xorriso.info | 129 ++++++++++++++++++------------------ xorriso/xorriso.texi | 4 +- xorriso/xorriso_timestamp.h | 2 +- 5 files changed, 73 insertions(+), 68 deletions(-) diff --git a/xorriso/parse_exec.c b/xorriso/parse_exec.c index 7e1be6d1..32739d00 100644 --- a/xorriso/parse_exec.c +++ b/xorriso/parse_exec.c @@ -1438,7 +1438,7 @@ next_command:; Xorriso_option_md5(xorriso, "on", 0); if(xorriso->lfa_flags_default & 8) Xorriso_option_lfa_flags(xorriso, - "default:on:restore_mask=aAcCdDijmPsStTux", 0); + "default:on:import_only_settable:restore_mask=aAcCdDijmPsStTux", 0); ret= 1; } else if(strcmp(cmd,"format")==0) { diff --git a/xorriso/xorriso.1 b/xorriso/xorriso.1 index d000b953..bee2a251 100644 --- a/xorriso/xorriso.1 +++ b/xorriso/xorriso.1 @@ -1180,7 +1180,9 @@ highest fidelity of file properties. Currently this is a shortcut for: .br and possibly: .br - \-lfa_flags default:on:restore_mask=aAcCdDijmPsStTux + \-lfa_flags default:on:import_only_settable +.br + \-lfa_flags restore_mask=aAcCdDijmPsStTux .br If you restore a backup with xattr from non\-user namespaces, then make sure that the target operating system and filesystem know what these attributes diff --git a/xorriso/xorriso.info b/xorriso/xorriso.info index 5be36ed4..edf336d7 100644 --- a/xorriso/xorriso.info +++ b/xorriso/xorriso.info @@ -1051,7 +1051,8 @@ activate them only after image loading. is a shortcut for: -hardlinks on -acl on -xattr any -md5 on and possibly: - -lfa_flags default:on:restore_mask=aAcCdDijmPsStTux + -lfa_flags default:on:import_only_settable + -lfa_flags restore_mask=aAcCdDijmPsStTux If you restore a backup with xattr from non-user namespaces, then make sure that the target operating system and filesystem know what these attributes mean. Possibly you will need administrator @@ -5967,11 +5968,11 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top * -assess_indev_features shows filesystem features: Inquiry. (line 61) * -auto_charset learns character set from image: Loading. (line 141) * -backslash_codes enables backslash conversion: Scripting. (line 73) -* -ban_stdio_write demands real drive: Loading. (line 445) +* -ban_stdio_write demands real drive: Loading. (line 446) * -biblio_file sets biblio file name: SetWrite. (line 277) * -blank erases media: Writing. (line 57) * -boot_image controls bootability: Bootable. (line 75) -* -calm_drive reduces drive activity: Loading. (line 435) +* -calm_drive reduces drive activity: Loading. (line 436) * -cd sets working directory in ISO: Navigate. (line 7) * -cdx sets working directory on disk: Navigate. (line 15) * -changes_pending overrides change status: Writing. (line 12) @@ -6007,12 +6008,12 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top * -cp_rx copies file trees to disk: Restore. (line 131) * -cp_rx copies file trees to disk <1>: Restore. (line 139) * -cut_out inserts piece of data file or device: Insert. (line 139) -* -data_cache_size adjusts read cache size: Loading. (line 461) +* -data_cache_size adjusts read cache size: Loading. (line 462) * -dev acquires one drive for input and output: AqDrive. (line 12) * -devices gets list of drives: Inquiry. (line 7) * -device_links gets list of drives: Inquiry. (line 17) * -dialog enables dialog mode: DialogCtl. (line 7) -* -disk_dev_ino fast incremental backup: Loading. (line 355) +* -disk_dev_ino fast incremental backup: Loading. (line 356) * -disk_pattern controls pattern expansion: Insert. (line 34) * -displacement compensate altered image start address: Loading. (line 102) @@ -6024,8 +6025,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top * -dusx show directory size on disk: Navigate. (line 96) * -dux show directory size on disk: Navigate. (line 92) * -dvd_obs set write block size and end alignment: SetWrite. (line 421) -* -early_stdio_test classifies stdio drives: Loading. (line 449) -* -ecma119_map names w/o Rock Ridge, Joliet: Loading. (line 328) +* -early_stdio_test classifies stdio drives: Loading. (line 450) +* -ecma119_map names w/o Rock Ridge, Joliet: Loading. (line 329) * -eject ejects drive tray: Writing. (line 50) * -end writes pending session and ends program: Scripting. (line 153) * -errfile_log logs problematic disk files: Scripting. (line 118) @@ -6038,7 +6039,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top * -extract_cut copies file piece to disk: Restore. (line 108) * -extract_l copies files to disk: Restore. (line 104) * -extract_single copies file to disk: Restore. (line 101) -* -file_name_limit curbs length of file names: Loading. (line 375) +* -file_name_limit curbs length of file names: Loading. (line 376) * -file_size_limit limits data file size: SetInsert. (line 7) * -find traverses and alters ISO tree: CmdFind. (line 7) * -findx traverses disk tree: Navigate. (line 99) @@ -6060,11 +6061,11 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top * -indev acquires a drive for input: AqDrive. (line 23) * -in_charset sets input character set: Loading. (line 136) * -iso_nowtime fixed "now" time for ISO 9660 objects: Loading. - (line 349) + (line 350) * -iso_rr_pattern controls pattern expansion: Manip. (line 10) * -jigdo clears JTE or or adds parameter to JTE: Jigdo. (line 37) * -joliet enables production of Joliet tree: SetWrite. (line 10) -* -joliet_map Joliet names: Loading. (line 341) +* -joliet_map Joliet names: Loading. (line 342) * -launch_frontend starts frontend program at pipes: Frontend. (line 141) * -lfa_flags controls handling of Linux file attributes: Loading. @@ -6149,7 +6150,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top (line 57) * -rollback discards pending changes: Writing. (line 9) * -rollback_end ends program without writing: Scripting. (line 156) -* -rom_toc_scan searches for sessions: Loading. (line 407) +* -rom_toc_scan searches for sessions: Loading. (line 408) * -rr_reloc_dir sets name of relocation directory: SetWrite. (line 171) * -scdbackup_tag enables scdbackup checksum tag: Emulation. (line 179) * -scsi_dev_family choose Linux device file type: AqDrive. (line 95) @@ -6227,7 +6228,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * Appended partitions, MBR: Bootable. (line 480) * Automatic execution order, of arguments, -x: ArgSort. (line 16) * Backslash Interpretation, _definition: Processing. (line 57) -* Backup, enable fast incremental, -disk_dev_ino: Loading. (line 355) +* Backup, enable fast incremental, -disk_dev_ino: Loading. (line 356) * Backup, enable features, -for_backup: Loading. (line 304) * Backup, scdbackup checksum tag, -scdbackup: Emulation. (line 179) * Blank media, _definition: Media. (line 34) @@ -6267,8 +6268,8 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * Directory, delete, -rmdir: Manip. (line 29) * disk_path, _definition: Insert. (line 6) * Drive, accessability, -drive_class: AqDrive. (line 43) -* Drive, classify stdio, -early_stdio_test: Loading. (line 449) -* Drive, demand real MMC, -ban_stdio_write: Loading. (line 445) +* Drive, classify stdio, -early_stdio_test: Loading. (line 450) +* Drive, demand real MMC, -ban_stdio_write: Loading. (line 446) * Drive, eject tray, -eject: Writing. (line 50) * Drive, for input and output, -dev: AqDrive. (line 12) * Drive, for input, -indev: AqDrive. (line 23) @@ -6276,7 +6277,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * Drive, get drive list, -devices: Inquiry. (line 7) * Drive, get drive list, -device_links: Inquiry. (line 17) * Drive, list supported media, -list_profiles: Writing. (line 163) -* Drive, reduce activity, -calm_drive: Loading. (line 435) +* Drive, reduce activity, -calm_drive: Loading. (line 436) * Drive, report SCSI commands, -scsi_log: Scripting. (line 145) * Drive, write and eject, -commit_eject: Writing. (line 53) * Drive, _definition: Drives. (line 6) @@ -6292,9 +6293,9 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * Examples: Examples. (line 6) * extattr, _definition: Extras. (line 66) * File content, copy, -concat: Restore. (line 148) -* File names, curb length, -file_name_limit: Loading. (line 375) -* File names, if Joliet is loaded: Loading. (line 341) -* File names, if neither Rock Ridge nor Joliet: Loading. (line 328) +* File names, curb length, -file_name_limit: Loading. (line 376) +* File names, if Joliet is loaded: Loading. (line 342) +* File names, if neither Rock Ridge nor Joliet: Loading. (line 329) * Filesytem features, show, -assess_indev_features: Inquiry. (line 61) * Filter, apply to file tree, -set_filter_r: Filter. (line 84) * Filter, apply to file, -set_filter: Filter. (line 58) @@ -6320,7 +6321,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * HFS+ serial number: Bootable. (line 455) * hidden, set in ISO image, -hide: Manip. (line 211) * HP-PA boot sector, production: Bootable. (line 430) -* Image reading, cache size, -data_cache_size: Loading. (line 461) +* Image reading, cache size, -data_cache_size: Loading. (line 462) * Image, demand volume ID, -assert_volid: Loading. (line 129) * Image, discard pending changes, -rollback: Writing. (line 9) * Image, filesystem to load, -read_fs: Loading. (line 120) @@ -6372,7 +6373,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * Jigdo Template Extraction, -jigdo: Jigdo. (line 37) * Jigdo Template Extraction, _definition: Jigdo. (line 6) * LBA, _definition: Drives. (line 17) -* libisofs, fixed "now" time: Loading. (line 349) +* libisofs, fixed "now" time: Loading. (line 350) * Linux device type, -scsi_dev_family: AqDrive. (line 95) * Linux file attributes, control handling, -lfa_flags: Loading. (line 207) @@ -6495,7 +6496,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top * System area, _definition: Bootable. (line 227) * Table-of-content, choose info to show, -toc_info_type: Inquiry. (line 49) -* Table-of-content, search sessions, -rom_toc_scan: Loading. (line 407) +* Table-of-content, search sessions, -rom_toc_scan: Loading. (line 408) * Table-of-content, show parts of, -toc_of: Inquiry. (line 41) * Table-of-content, show, -toc: Inquiry. (line 27) * Timestamps, set in ISO image, -alter_date: Manip. (line 173) @@ -6555,48 +6556,48 @@ Node: Commands26634 Node: ArgSort28311 Node: AqDrive29805 Node: Loading36962 -Node: Insert64929 -Node: SetInsert77124 -Node: Manip87360 -Node: CmdFind99480 -Node: Filter120794 -Node: Writing125416 -Node: SetWrite137910 -Node: Bootable169185 -Node: Jigdo200467 -Node: Charset205470 -Node: Exception208799 -Node: DialogCtl214988 -Node: Inquiry217590 -Node: Navigate230155 -Node: Verify239310 -Node: Restore250459 -Node: Emulation262666 -Node: Scripting273122 -Node: Frontend281016 -Node: Examples290642 -Node: ExDevices291820 -Node: ExCreate292481 -Node: ExDialog293781 -Node: ExGrowing295052 -Node: ExModifying295861 -Node: ExBootable296371 -Node: ExCharset296926 -Node: ExPseudo297822 -Node: ExCdrecord298749 -Node: ExMkisofs299069 -Node: ExGrowisofs300966 -Node: ExException302119 -Node: ExTime302577 -Node: ExIncBackup303035 -Node: ExRestore307061 -Node: ExRecovery308007 -Node: Files308579 -Node: Environ309913 -Node: Seealso310661 -Node: Bugreport311425 -Node: Legal312016 -Node: CommandIdx313028 -Node: ConceptIdx331357 +Node: Insert64966 +Node: SetInsert77161 +Node: Manip87397 +Node: CmdFind99517 +Node: Filter120831 +Node: Writing125453 +Node: SetWrite137947 +Node: Bootable169222 +Node: Jigdo200504 +Node: Charset205507 +Node: Exception208836 +Node: DialogCtl215025 +Node: Inquiry217627 +Node: Navigate230192 +Node: Verify239347 +Node: Restore250496 +Node: Emulation262703 +Node: Scripting273159 +Node: Frontend281053 +Node: Examples290679 +Node: ExDevices291857 +Node: ExCreate292518 +Node: ExDialog293818 +Node: ExGrowing295089 +Node: ExModifying295898 +Node: ExBootable296408 +Node: ExCharset296963 +Node: ExPseudo297859 +Node: ExCdrecord298786 +Node: ExMkisofs299106 +Node: ExGrowisofs301003 +Node: ExException302156 +Node: ExTime302614 +Node: ExIncBackup303072 +Node: ExRestore307098 +Node: ExRecovery308044 +Node: Files308616 +Node: Environ309950 +Node: Seealso310698 +Node: Bugreport311462 +Node: Legal312053 +Node: CommandIdx313065 +Node: ConceptIdx331394  End Tag Table diff --git a/xorriso/xorriso.texi b/xorriso/xorriso.texi index e1b1ce97..3d505741 100644 --- a/xorriso/xorriso.texi +++ b/xorriso/xorriso.texi @@ -1436,7 +1436,9 @@ highest fidelity of file properties. Currently this is a shortcut for: @* and possibly: @* - -lfa_flags default:on:restore_mask=aAcCdDijmPsStTux + -lfa_flags default:on:import_only_settable +@* + -lfa_flags restore_mask=aAcCdDijmPsStTux @* If you restore a backup with xattr from non-user namespaces, then make sure that the target operating system and filesystem know what these attributes diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 838da2da..09de9793 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.08.27.090110" +#define Xorriso_timestamP "2024.08.27.090627"