NetBSD Problem Report #1492
From gnats Thu Sep 21 21:48:03 1995
Received: from bloom-beacon.MIT.EDU (brnstndkramden.acf.nyu.edu@BLOOM-BEACON.MIT.EDU [18.181.0.26]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id VAA10306 for <gnats-bugs@gnats.netbsd.org>; Thu, 21 Sep 1995 21:48:02 -0400
Message-Id: <199509220139.VAA00499@pattern.arlington.ma.us>
Date: Thu, 21 Sep 1995 21:39:40 -0400
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: no feedback at shutdown-time unmounts
X-Send-Pr-Version: 3.95
>Number: 1492
>Category: kern
>Synopsis: no feedback at shutdown-time unmounts
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Sep 21 21:50:01 +0000 1995
>Closed-Date: Sat Jun 01 20:23:25 +0000 1996
>Last-Modified: Sat Jun 01 20:24:11 +0000 1996
>Originator: John Kohl
>Release: NetBSD-current, 1995/09/21
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
System: NetBSD pattern 1.0A NetBSD 1.0A (PATTERN) #125: Wed Sep 20 22:42:13 EDT 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386
>Description:
The kernel doesn't have any printf's or anything to indicate what file
systems are being unmounted.
>How-To-Repeat:
Shutdown & reboot
>Fix:
===================================================================
RCS file: RCS/vfs_subr.c,v
retrieving revision 1.1
diff -c -r1.1 vfs_subr.c
*** vfs_subr.c 1995/07/23 20:40:18 1.1
--- vfs_subr.c 1995/07/23 21:38:54
***************
*** 1495,1500 ****
--- 1495,1504 ----
for (allerror = 0,
mp = mountlist.cqh_last; mp != (void *)&mountlist; mp = nmp) {
nmp = mp->mnt_list.cqe_prev;
+ #ifdef DIAGNOSTIC
+ printf("unmounting %s (%s)...\n",
+ mp->mnt_stat.f_mntonname, mp->mnt_stat.f_mntfromname);
+ #endif
if (error = dounmount(mp, MNT_FORCE, &proc0)) {
printf("unmount of %s failed with error %d\n",
mp->mnt_stat.f_mntonname, error);
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtk
State-Changed-When: Sat Jun 1 16:23:25 EDT 1996
State-Changed-Why:
added printouts at unmount, but under #ifdef DEBUG rather than DIAGNOSTIC.
>Unformatted:
(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.