NetBSD Problem Report #1380

From gnats  Fri Aug 18 10:08:47 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 KAA14468 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Fri, 18 Aug 1995 10:08:47 -0400
Message-Id: <199508181403.PAA01011@gluon.mono.org>
Date: Fri, 18 Aug 1995 15:03:45 +0100
From: abs@mono.mono.org
To: gnats-bugs@NetBSD.ORG
Subject: copy_kernel.sh could be more paranoid on fsck
X-Send-Pr-Version: 3.2

>Number:         1380
>Category:       port-i386
>Synopsis:       copy_kernel.sh could be more paranoid on fsck
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 18 10:20:06 +0000 1995
>Closed-Date:    Sun Aug 03 01:12:09 +0000 1997
>Last-Modified:  Sun Aug 03 01:12:44 +0000 1997
>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:
	The copy_kernel.sh runs fsck before copying the kernel from the
	floppy to HD. I'd be inclined to run '-f', so it _always_ checks
	the disk is ok no matter what the clean flag says.
>How-To-Repeat:
	Install an i386 -current distribution and feel 'a little uneasy'
	as it tells you the disk is clean :)
>Fix:
*** /usr/src/distrib/i386/floppies/kc-common/copy_kernel.sh.orig        Tue Aug 15 19:28:12 1995
--- /usr/src/distrib/i386/floppies/kc-common/copy_kernel.sh     Tue Aug 15 19:28:13 1995
***************
*** 68,74 ****

  echo  ""
  echo  "Checking ${diskpart} partition; please wait."
! ${TEST} fsck -p "/dev/${rawdiskpart}"
  case $? in
  0)
        ;;
--- 68,74 ----

  echo  ""
  echo  "Checking ${diskpart} partition; please wait."
! ${TEST} fsck -f -p "/dev/${rawdiskpart}"
  case $? in
  0)
        ;;

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: perry 
State-Changed-When: Sat Aug 2 18:12:09 PDT 1997 
State-Changed-Why:  
We no longer have a kernel copy floppy, so the whole problem 
has obsoleted itself out of existance. 
>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.