Does mkisofs or genisoimage "magic library support" Warning require a bug post?
Greg Morgan
drkludge at cox.net
Sun Nov 18 22:34:49 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
"This program has been compiled without magic library support."
"Ignoring the -magic option."
Does this mkisofs/genisoimage message require a bug report? I receive
it when trying to respin a Fedora 8 PPC disk. I don't like the message
because the command I used is what pungi/anaconda use to create the PPC
ISO files
http://lists.infradead.org/pipermail/fedora-ppc/2007-July/001003.html.
The message occurs on a Fedora 7 distribution.
You can follow what I am doing here
http://fedoraproject.org/wiki/PlayStation/Ps3ReSpin. Thanks to all of
you on the list that posted questions and answers because that helped me
generate the ISO. Anyhow, I have been working on a PS3 Respin ISO
document. I want to use the Sony add-on CD to work around the Fedora 8
video driver issue. I have a working document that creates a PPC
oriented ISO file but the magic warning appears.
The PS3 system is my first exposure to the PowerPC way of doing things
and lack the background on how or if this is a serious issue or not.
Google searches bring back mkisofs pages like so
http://linux.about.com/library/cmd/blcmdl8_mkisofs.htm However, it
looks like the order of the -map and -magic directives avoid errors in
the pungi Anaconda builds as per the mkisofs man page.
mkisofs page
HFS CREATOR/TYPE
A Macintosh file has two properties associated with it which define
which application created the file, the CREATOR and what data the file
contains, the TYPE. Both are (exactly) 4 letter strings. Usually this
allows a Macintosh user to double-click on a file and launch the correct
application etc. The CREATOR and TYPE of a particular file can be found
by using something like ResEdit (or similar) on a Macintosh.
The CREATOR and TYPE information is stored in all the various Apple/Unix
encoded files. For other files it is possible to base the CREATOR and
TYPE on the filename's extension using a mapping file (the -map option)
and/or using the magic number (usually a signature in the first few
bytes) of a file (the -magic option). If both these options are given,
then their order on the command line is important. If the -map option is
given first, then a filename extension match is attempted before a magic
number match. However, if the -magic option is given first, then a magic
number match is attempted before a filename extension match.
My command string and error message.
/usr/bin/mkisofs -v -U -J -R -T -part -hfs -r -l -sysid PPC -no-desktop \
> -allow-multidot -chrp-boot \
> -map /prs/ppcbootiso/ppcboot/mapping \
> -magic /prs/ppcbootiso/ppcboot/magic \
> -hfs-bless /prs/ppcbootrespin/f8petitboot/ppc/mac \
> -V "F8 ppc respin" -o ../f8petitboot.iso \
> /prs/ppcbootrespin/f8petitboot
This program has been compiled without magic library support.
Ignoring the -magic option.
Warning: creating filesystem that does not conform to ISO-9660.
genisoimage 1.1.6 (Linux)
Please advise,
Greg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHQQRZxyxe5L6mr7IRAoAPAKCKJlKhVcRuyxzL7VyQBS23w7UjbQCfWd01
My9SwpE+bv8M4hBB0XXH7u8=
=eQsE
-----END PGP SIGNATURE-----
More information about the Fedora-ppc
mailing list