NetBSD Problem Report #1379

From gnats  Fri Aug 18 10:08:44 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id KAA14464 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Fri, 18 Aug 1995 10:08:43 -0400
Message-Id: <199508181358.OAA00807@gluon.mono.org>
Date: Fri, 18 Aug 1995 14:58:50 +0100
From: abs@mono.mono.org
To: gnats-bugs@NetBSD.ORG
Subject: mount still uses ufs & not ffs
X-Send-Pr-Version: 3.2

>Number:         1379
>Category:       bin
>Synopsis:       mount still uses ufs & not ffs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 18 10:20:02 +0000 1995
>Closed-Date:    Tue Aug 22 15:58:36 +0000 1995
>Last-Modified:  Tue Aug 22 19:58:41 +0000 1995
>Originator:     David Brownlee
>Release:        Aug 14th 1995
>Organization:
Monochrome
>Environment:
sparc, 1.0A, current
System: NetBSD gluon.city.ac.uk 1.0A NetBSD 1.0A (GLUON) #1: monoadm@gluon.city.ac.uk:/mono/u1/NetBSD/src/sys/arch/sparc/compile/GLUON sparc

>Description:
	mount still defaults to using ufs & not ffs.
>How-To-Repeat:
	build a -current i386 distribution floppy & then have real problems
	when it wants to run mount_ufs, but only mount_ffs is on the disk :(
>Fix:

*** mount.c.orig        Tue Aug 15 17:02:00 1995
--- mount.c     Tue Aug 15 17:02:09 1995
***************
*** 110,116 ****

        all = forceall = init_flags = 0;
        options = NULL;
!       vfstype = "ufs";
        while ((ch = getopt(argc, argv, "Aadfo:rwt:uv")) != EOF)
                switch (ch) {
                case 'A':
--- 110,116 ----

        all = forceall = init_flags = 0;
        options = NULL;
!       vfstype = "ffs";
        while ((ch = getopt(argc, argv, "Aadfo:rwt:uv")) != EOF)
                switch (ch) {
                case 'A':
***************
*** 544,552 ****

        (void)fprintf(stderr,
                "usage: mount %s %s\n       mount %s\n       mount %s\n",
!               "[-dfruvw] [-o options] [-t ufs | external_type]",
                        "special node",
!               "[-adfruvw] [-t ufs | external_type]",
                "[-dfruvw] special | node");
        exit(1);
  }
--- 544,552 ----

        (void)fprintf(stderr,
                "usage: mount %s %s\n       mount %s\n       mount %s\n",
!               "[-dfruvw] [-o options] [-t ffs | external_type]",
                        "special node",
!               "[-adfruvw] [-t ffs | external_type]",
                "[-dfruvw] special | node");
        exit(1);
  }
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Tue Aug 22 15:58:36 1995
State-Changed-Why:
Fixed.

>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.