Subject: creating a 3.0 restore CD
To: None <port-cobalt@netbsd.org>
From: Rowdy <rowdy@netspace.net.au>
List: port-cobalt
Date: 12/27/2005 14:45:48
[Seasons] Greetings,

I am having a go at creating a restore CD for the recently released
NetBSD 3.0, using the instructions here (thanx Alex!):

http://netbsd.org/Ports/cobalt/restorecd-howto.html

The host operating system on which I am creating the ISO is FreeBSD 6.0.
I have found that the vnconfig command has been superceded by the
mdconfig command, and the following sequence seemed to work ok to allow
me to copy files from the original restore CD image:

mdconfig -a -t vnode -f image.iso -u 0
mount -t cd9660 /dev/md0 /mnt

And afterwards:

umount /mnt
mdconfig -d -u 0

When it came to creating the ISO with mkisofs, I typed the command
exactly as on the above page, i.e.:

mkisofs -o image3.iso -b i386/installation/floppy/boot-big.fs -c 
boot.catalog -l -J -r -L cobaltcd

and received the following output:

mkisofs: The option '-L' is reserved by POSIX.1-2001.
mkisofs: The option '-L' means 'follow all symbolic links'.
mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
Warning: creating filesystem that does not conform to ISO-9660.
Size of boot image is 5760 sectors -> Emulating a 2880 kB floppy
   5.14% done, estimate finish Tue Dec 27 14:24:10 2005
  10.26% done, estimate finish Tue Dec 27 14:24:20 2005
  15.40% done, estimate finish Tue Dec 27 14:24:23 2005
  20.52% done, estimate finish Tue Dec 27 14:24:20 2005
  25.65% done, estimate finish Tue Dec 27 14:24:22 2005
  30.79% done, estimate finish Tue Dec 27 14:24:23 2005
  35.91% done, estimate finish Tue Dec 27 14:24:24 2005
  41.04% done, estimate finish Tue Dec 27 14:24:25 2005
  46.16% done, estimate finish Tue Dec 27 14:24:27 2005
  51.30% done, estimate finish Tue Dec 27 14:24:28 2005
  56.43% done, estimate finish Tue Dec 27 14:24:26 2005
  61.56% done, estimate finish Tue Dec 27 14:24:26 2005
  66.69% done, estimate finish Tue Dec 27 14:24:26 2005
  71.81% done, estimate finish Tue Dec 27 14:24:27 2005
  76.95% done, estimate finish Tue Dec 27 14:24:27 2005
  82.08% done, estimate finish Tue Dec 27 14:24:27 2005
  87.20% done, estimate finish Tue Dec 27 14:24:27 2005
  92.33% done, estimate finish Tue Dec 27 14:24:27 2005
  97.47% done, estimate finish Tue Dec 27 14:24:27 2005
Total translation table size: 2048
Total rockridge attributes bytes: 131777
Total directory bytes: 589824
Path table size(bytes): 3234
Max brk space used 156000
97479 extents written (190 MB)

There are no obvious errors, but the warning about the '-L' switch at
the beginning makes me wonder what was intended.

Was it intended that -L include the 'follow all symbolic links' option,
or the 'allow leading dots' option?

Thanx

Rowdy