NetBSD Problem Report #397
From gnats Sun Aug 7 01:07:19 1994
Received: from hermes.hrz.uni-bielefeld.de (hermes.hrz.uni-bielefeld.de [129.70.4.55]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with SMTP id BAA08922 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 7 Aug 1994 01:07:17 -0700
Message-Id: <m0qX2TA-000417C@euterpe.owl.de>
Date: Sun, 7 Aug 94 09:16 WET DST
From: martin@euterpe.owl.de (Martin Husemann)
Reply-To: martin@euterpe.owl.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: portal filesystem mungles the fs of its mount point
X-Send-Pr-Version: 3.2
>Number: 397
>Category: kern
>Synopsis: the fs hosting a portal fs will not fsck clean
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 07 01:20:05 +0000 1994
>Closed-Date: Thu Feb 08 04:29:35 +0000 1996
>Last-Modified: Thu Feb 08 04:30:59 +0000 1996
>Originator: Martin Husemann
>Release: -current
>Organization:
private
>Environment:
System: NetBSD euterpe.owl.de 1.0_BETA NetBSD 1.0_BETA (EUTERPE) #0: Thu Jul 28 15:45:19 MET DST 1994 root@euterpe.owl.de:/usr/src/sys/arch/i386/compile/EUTERPE i386
>Description:
A portal filesystem mounted to /p prevents the root filesystem from being
fsck'd clean. Unmounting /p will fix this. Somehow this propagated semi-
permanently, so fsck at boottime would barf (although /p isn't mounted then)
and try to fix it. It confused me a bit, which resulted in the completely
bogus kern/395 bug report.
>How-To-Repeat:
Use this as /etc/portal.conf:
# portal.conf
tcp/ tcp tcp/
and try:
fsck -n /dev/rsd0a (should be ok)
mount -t portal /etc/portal.conf /p
fsck -n /dev/rsd0a (gives unref'd file)
umount /p
fsck -n /dev/rsd0a (should be ok again)
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Wed Feb 7 23:29:35 EST 1996
State-Changed-Why:
This was fixed some time ago, by umounting file systems at shutdown time.
>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.