[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support of -translation-table option
From: |
Thomas Schmitt |
Subject: |
Re: Support of -translation-table option |
Date: |
Wed, 18 Nov 2020 17:50:18 +0100 |
Hi,
Jiří K. wrote:
> The -translation-table option is passed here
> https://pagure.io/pungi/blob/master/f/pungi/wrappers/iso.py#_182
Hm. That should be ignored.
$ xorrisofs -o /dev/null -T x
...
xorriso : NOTE : -as genisofs: Ignored option '-T'
...
Writing to 'stdio:/dev/null' completed successfully.
$ xorrisofs -o /dev/null -translation-table x
...
xorriso : FAILURE : -as genisofs: Unsupported option '-translation-table'
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE
$
I will add -translation-table to the list of ignored mkisofs options.
(It appears in genisoimgae -help but not in man genisoimage.)
-----------------------------------------------------------------------
The format is fewly documented. An experiment with genisoimage yields
for block device file "sr0" and regular file "xx":
$ od -t x1 -t c /mnt/iso/trans.tbl
0000000 42 20 53 52 30 2e 3b 31 20 20 20 20 20 20 20 20
B S R 0 . ; 1
0000020 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
*
0000320 20 20 09 73 72 30 09 31 31 20 30 0a 46 20 58 58
\t s r 0 \t 1 1 0 \n F X X
0000340 2e 3b 31 20 20 20 20 20 20 20 20 20 20 20 20 20
. ; 1
0000360 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
*
0000640 20 20 20 20 20 20 20 20 20 20 20 20 20 20 09 78
\t x
0000660 78 0a
x \n
It looks like TAB is the field separator and trailing blanks of the name
are to be ignored. The line begins with a type character. Then ISO 9660
name and lokal disk name. There is an optional fields for the major and
minor device number.
So if it ever matters, it would be quite easy to generate the tables
in the source directory tree before xorrisofs is run.
Have a nice day :)
Thomas