Fwd: libcdio - o co chodzi z tą zależnością?

Elan Ruusamäe glen at delfi.ee
Wed Apr 23 22:41:42 CEST 2008


On Wednesday 23 April 2008 23:22, Patryk Zawadzki wrote:
> cross-posting do devel-en as glen is interested in this:

indeed. magic matches for that file as the iso magic is so tiny:

file-4.23$ grep -r CD-ROM .
./magic/Magdir/filesystems:>38913   string   !NSR0      ISO 9660 CD-ROM filesystem data
./magic/Magdir/filesystems:37633    string    CD001     ISO 9660 CD-ROM filesystem data (raw 2352 byte sectors)

$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
obase=16
37633
9301

$ xxd libiso9660.so.5.1.0
..
(0009300: 0043 4430 3031 0069 7074 3220 213d 204e  .CD001.ipt2 != N
...
 
options is to add some junk to the library to shift the offset or improfile file(1) magic and/or iso detection moved after ELF binaries/libs:

libiso9660.so.5.1.0:
ISO 9660 CD-ROM filesystem data (raw 2352 byte sectors), dynamically
linked, not stripped

dynamically linked filesystem data is fun :)

currently preparing file-4.24 to see what that brings

-- 
glen


More information about the pld-devel-en mailing list