NetBSD Problem Report #761

From gnats  Sat Jan 28 14:57:54 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id OAA18317 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sat, 28 Jan 1995 14:57:54 -0800
Message-Id: <199501282243.RAA00682@kolvir.blrc.ma.us>
Date: Sat, 28 Jan 1995 17:43:42 -0500
From: John Kohl <jtk@kolvir.blrc.ma.us>
Reply-To: jtk@kolvir.blrc.ma.us
To: gnats-bugs@NetBSD.ORG
Subject: union mounts in -current ate my kernel build tree
X-Send-Pr-Version: 3.2

>Number:         761
>Category:       kern
>Synopsis:       union mounts in -current ate my kernel build tree
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 28 15:05:02 +0000 1995
>Closed-Date:    Tue May 30 09:38:47 +0000 1995
>Last-Modified:  
>Originator:     John Kohl
>Release:        1.0A
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:

System: NetBSD kolvir 1.0A NetBSD 1.0A (KOLVIR) #4: Sat Jan 28 16:42:05 EST 1995 jtk@kolvir:/u1/NetBSD-current/src/sys/arch/i386/compile/KOLVIR i386


>Description:
I have the following regular and union mounts set up:
	/dev/sd0f /u1 ufs rw 1 2
	/dev/wd0e /u2 ufs rw 1 2
	/u2 /u1/NetBSD-current union rw,noauto,-b 1 2

I was doing some work today on freshly-SUPed i386 kernel source, and at
some point my build tree (all the .o's) in
/u1/NetBSD-current/sys/arch/i386/compile/KOLVIR just vanished.  I suspect it
happened at the time of running config.new to update the configuration.
Running fsck revealed they'd all been abandoned--it cheerily attached
them all to /u1/lost+found.

This happened earlier today, but I chalked that up to an older union FS
type (I was in the middle of updating to the latest stuff).  I tried
running config.new again after I lost the tree the 2nd time and
rebooted, but I couldn't cause more files to vanish by running
config.new.

>How-To-Repeat:

Not quite sure how to reliably repeat this--I'm not anxious to lose
another kernel build tree.  Maybe it has something to do with working on
the filesystem without the union mount mounted, and then mounting the
union later?

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Tue May 30 02:38:47 PDT 1995 
State-Changed-Why:  
This is almost certainly the same condition as PR 1084. 
>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.