Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 13:58:36 +0000 (GMT)
From:      Nik Clayton <nik@blueberry.co.uk>
To:        questions@freebsd.org
Subject:   mkisofs and false assertions?
Message-ID:  <199601041358.NAA04263@elbereth.blueberry.co.uk>

next in thread | raw e-mail | index | archive | help
How do,

Just been experimenting with mkisofs to build some backup images of my
HD.

I used this command line:

    mkisofs -a -A "Blueberry Web Tree" -o www.iso -P "Blueberry Design Ltd." \
      -p "Nik Clayton <nik@blueberry.co.uk>" -R -T -V "www" -v -N -d \ 
      /usr/local/www

Long lines broken, obviously. Note the last two parameters, -N and -d.

>From the man page for mkisofs,

       -d     Omit  trailing period from files that do not have a
              period.  This violates the ISO9660 standard, but it
              happens to work on many systems.  Use with caution.

       -N     Omit version numbers from ISO9660 file names.  This
              may violate the ISO9660 standard, but no one really
              uses the version numbers anyway.  Use with caution.

So as far as I can tell, I should not need to use these parameters.

However, if I try and run mksiofs without them then I get one of two
assertion faults. If I omit -N then I get

mkisofs v1.03
assertion "omit_version_number" failed: file "/usr/src/gnu/usr.bin/mkisofs/mkisofs.c", line 335
Abort (core dumped)

and if I omit -d I get

mkisofs v1.03
assertion "omit_period" failed: file "/usr/src/gnu/usr.bin/mkisofs/mkisofs.c", line 336
Abort (core dumped)

So I'm wondering why mkisofs requires these parameters to be given, despite
their use producing non-standard images?

A quick 'grep mkisofs' in both the FAQ and the handbook turned up nothing
on this subject.

Nik
-- 
--+=[ Blueberry Hill                   Blueberry Design                   ]=+--
--+=[ http://www.blueberry.co.uk/      1/9 Chelsea Harbour Design Centre, ]=+--
--+=[ WebMaster@blueberry.co.uk        London, England, SW10 0XE          ]=+--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601041358.NAA04263>