Subject: pkg/7315: mkisofs usage differs from both reality and the man page
To: None <gnats-bugs@gnats.netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 04/03/1999 11:55:17
>Number:         7315
>Category:       pkg
>Synopsis:       mkisofs requires -o argument, but usage doesn't say this
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr  3 09:05:00 1999
>Last-Modified:
>Originator:     Mason Loring Bliss
>Organization:
Mason Loring Bliss             ((  "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us  ))  build  their nest  with fragments  dropped
http://acheron.ne.mediaone.net ((   from day's caravan." - Rabindranath Tagore
>Release:        1999.04.03 pkgsrc
>Environment:
	
System: NetBSD acheron.middleboro.ma.us 1.4_ALPHA NetBSD 1.4_ALPHA (MLB) #0: Fri Apr 2 12:31:49 EST 1999 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386


>Description:

mkisofs requires a -o and a pathname. The usage when it's run without
arguments lists the -o as optional. The man page lists it as being
required. Running mkisofs without -o seems to dump stuff to the screen,
and doesn't produce a file with an ISO filesystem in it.

>How-To-Repeat:

mkisofs ; man mkisofs | head -12

>Fix:


*** mkisofs.c.orig	Sat Apr  3 11:51:09 1999
--- mkisofs.c	Sat Apr  3 11:51:48 1999
***************
*** 260,273 ****
  void usage(){
  	fprintf(stderr,"Usage:\n");
  	fprintf(stderr,
! "mkisofs [-o outfile] [-R] [-V volid] [-v] [-a] \
  [-T]\n [-l] [-d] [-V] [-D] [-L] [-p preparer]"
  #ifdef ADD_FILES
  "[-i file] \n"
  #endif
  "[-P publisher] [ -A app_id ] [-z] \n \
  [-b boot_image_name] [-c boot_catalog-name] \
! [-x path -x path ...] path\n");
  	exit(1);
  }
  
--- 260,273 ----
  void usage(){
  	fprintf(stderr,"Usage:\n");
  	fprintf(stderr,
! "mkisofs [-R] [-V volid] [-v] [-a] \
  [-T]\n [-l] [-d] [-V] [-D] [-L] [-p preparer]"
  #ifdef ADD_FILES
  "[-i file] \n"
  #endif
  "[-P publisher] [ -A app_id ] [-z] \n \
  [-b boot_image_name] [-c boot_catalog-name] \
! [-x path -x path ...] -o outfile path\n");
  	exit(1);
  }
  

>Audit-Trail:
>Unformatted: