Subject: ISO-Image nitpicks
To: None <tech-install@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: tech-install
Date: 03/01/2005 11:39:40
--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I just created an i386 -current CD and noticed the strange volume label:
NETBSD_I3868_2991. After a while I realized it was trying to say 2.99.16.

Now, since most other arch names are even longe, I'd like to suggest that
we just leave that out of the volume label, so it becomes NETBSD_29916.
That it's content is i386 is obvious, since the path on the CD starts
with i386/ anyway.

While there I added my favorite mkisofs options:

       -L     Allow ISO9660 filenames to begin  with  a  period.   Usually,  a
              leading  dot is replaced with an underscore in order to maintain
              MS-DOS compatibility.
              This violates the ISO9660 standard, but it happens  to  work  on
              many systems.  Use with caution.
       -hide-joliet-trans-tbl
              Hide the TRANS.TBL files from the Joliet tree.  These files usu-
              ally  don't make sense in the Joliet World as they list the real
              name and the ISO9660 name which may both be different  from  the
              Joliet name.
       -quiet This  makes  mkisofs even less verbose.  No progress output will
              be provided.


What do you think?

Martin

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

Index: Makefile
===================================================================
RCS file: /cvsroot/src/etc/Makefile,v
retrieving revision 1.304
diff -u -r1.304 Makefile
--- Makefile	23 Feb 2005 02:10:33 -0000	1.304
+++ Makefile	1 Mar 2005 10:38:54 -0000
@@ -57,8 +57,9 @@
 MKISOFS?=	mkisofs
 DISTRIBREV!=	${HOST_SH} ${KERNSRCDIR}/conf/osrelease.sh -s
 # ISO 9660 volume ID.  Note that this can only contain [A-Z0-9_].
-ISO_VOLID!=	echo NETBSD_${MACHINE}_${DISTRIBREV} | tr a-z A-Z
+ISO_VOLID!=	echo NETBSD_${DISTRIBREV} | tr a-z A-Z
 MKISOFS_FLAGS+= -J -l \
+		-L -hide-joliet-trans-tbl -quiet \
 		-r -T -v \
 		-V ${ISO_VOLID} \
 		-P "The NetBSD Project" \

--5vNYLRcllDrimb99--