NetBSD Problem Report #146
From gnats Tue Mar 1 14:01:24 1994
Received: from wonderland.org (alice.wonderland.org [193.195.141.1]) by sun-lamp.cs.berkeley.edu (8.6.5/8.6.5) with ESMTP id OAA27129 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 1 Mar 1994 14:01:14 -0800
Message-Id: <199403012200.WAA07143@wonderland.org>
Date: Tue, 1 Mar 1994 22:00:28 GMT
From: peter@wonderland.org
Reply-To: peter@wonderland.org
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: I can "mount /tmp" multiple times, MFS may need a fix
X-Send-Pr-Version: 3.2
>Number: 146
>Category: kern
>Synopsis: mounting /tmp/multiple time with mfs works, and it shouldn't
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 01 14:05:02 +0000 1994
>Closed-Date: Fri Sep 16 22:05:41 +0000 1994
>Last-Modified: Sun Mar 03 17:47:58 +0000 2013
>Originator: Peter Galbavy
>Release: 0.9a 1st March 1994
>Organization:
Wonderland
>Environment:
the usual, 486DX/1742/32Mb etc
System: NetBSD alice.wonderland.org 0.9a ALICE#0 i386
>Description:
I can mount my /tmp directory multiple times, and my fstab says:
/dev/sd0b /tmp mfs rw 0 0
and df:
Filesystem 1K-blocks Used Avail Capacity Mounted on
...
mfs:14 47245 10 44872 0% /tmp
mfs:9699 47245 1 44881 0% /tmp
This is true for both the i386 and sparc platforms.
I do not want to think of what may be happening to the data in /tmp,
so I backed out quickly. Different processes are handling the mfs mounts,
but when I do "mount -a" I am used to it only mounting filesystems
which are not already there...
I do not know how serious this could really be. If at all.
>How-To-Repeat:
Have a line like the above in /etc/fstab and do "mount /tmp" multiple
times.
>Fix:
I suspect that the mount_mfs should check whether the directory/device
is alreay in use.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed
State-Changed-By: cgd
State-Changed-When: Tue Mar 1 19:02:45 PST 1994
State-Changed-Why:
umm, this is a bit of a weird one, but i'm going to claim it.
State-Changed-From-To: analyzed->closed
State-Changed-By: mycroft
State-Changed-When: Fri Sep 16 15:05:41 PDT 1994
State-Changed-Why:
This duplicates PR 444.
>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.