NetBSD Problem Report #7315

Received: (qmail 7755 invoked from network); 3 Apr 1999 16:55:19 -0000
Message-Id: <199904031655.LAA11552@acheron.middleboro.ma.us>
Date: Sat, 3 Apr 1999 11:55:17 -0500 (EST)
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
Reply-To: mason@acheron.middleboro.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: mkisofs usage differs from both reality and the man page
X-Send-Pr-Version: 3.95

>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
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 03 09:05:00 +0000 1999
>Closed-Date:    Wed Apr 07 23:31:16 +0000 1999
>Last-Modified:  Wed Apr 07 23:32:48 +0000 1999
>Originator:     Mason Loring Bliss
>Release:        1999.04.03 pkgsrc
>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
>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);
  }


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: tron 
State-Changed-When: Wed Apr 7 16:31:16 PDT 1999 
State-Changed-Why:  
The "-o filename" argument is optional by purpose, see e.g. the manual page 
of "cdrecord" for an example. However the manual page was wrong. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.