3 # $FreeBSD: src/share/examples/worm/makecdfs.sh,v 1.4.6.1 2000/05/25 20:16:09 dirk Exp $
5 # usage: makecdfs "cd title" input-tree output-file "copyright string"
9 # makecdfs FreeBSD-2.1.5 /a/cdrom-dist /a/cdimage.cd0 "Walnut Creek CDROM \
10 # 1-510-674-0783 FAX 1-510-674-0821"
12 if [ "$1" = "-b" ]; then
13 bootable="-b floppies/boot.flp -c floppies/boot.catalog"
20 echo "usage: $0 \"cd-title\" input-tree output-file \"copyright\""
21 elif [ ! -d $2 ]; then
22 echo "$0: $2 is not a directory tree."
28 mkisofs $bootable -d -N -D -R -T -V "$title" -P "$copyright" -o $outfile $tree