package: genisoimage
version: genisoimage 1.1.11 (Linux)
severity: wishlist
ISO9660 has a time stamp granularity of 1/100 seconds and UDF even has microsecond time granularity. genisoimage only records the timestamp with an accuracy of 1 second. Please record the time stamp as exact as possible for each file system.
How to reproduce:
~~~~
root@example:/# cd /tmp
root@example:/tmp# touch example.txt
root@example:/tmp# genisoimage -r -udf -o tmp.iso example.txt
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
419 extents written (0 MB)
root@example:/tmp# mkdir tmp
root@example:/tmp# mount tmp.iso -t udf tmp
mount: /tmp/tmp: WARNING: source write-protected, mounted read-only.
root@example:/tmp# stat example.txt tmp/example.txt
File: example.txt
Size: 0 Blocks: 0 IO Block: 4096 regular empty file
Device: 806h/2054d Inode: 3415720 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2025-08-09 12:31:25.690050887 +0200
Modify: 2025-08-09 12:31:25.690050887 +0200
Change: 2025-08-09 12:31:25.690050887 +0200
Birth: 2025-08-09 12:31:25.690050887 +0200
File: tmp/example.txt
Size: 0 Blocks: 0 IO Block: 2048 regular empty file
Device: 700h/1792d Inode: 261 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2025-08-09 12:31:25.000000000 +0200
Modify: 2025-08-09 12:31:25.000000000 +0200
Change: 2025-08-09 12:31:25.000000000 +0200
Birth: -
root@example:/tmp# umount tmp
root@example:/tmp# mount -t iso9660 tmp.iso tmp
mount: /tmp/tmp: WARNING: source write-protected, mounted read-only.
root@example:/tmp# stat tmp/example.txt
File: tmp/example.txt
Size: 0 Blocks: 0 IO Block: 2048 regular empty file
Device: 700h/1792d Inode: 17031 Links: 1
Access: (0444/-r--r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2025-08-09 12:31:25.000000000 +0200
Modify: 2025-08-09 12:31:25.000000000 +0200
Change: 2025-08-09 12:31:25.000000000 +0200
Birth: -
root@example:/tmp#
~~~~