NetBSD Problem Report #199
From gnats Wed Apr 6 05:37:53 1994
Received: from sun2.nsfnet-relay.ac.uk (sun2.nsfnet-relay.ac.uk [128.86.8.45]) by sun-lamp.cs.berkeley.edu (8.6.8/8.6.6) with SMTP id FAA29374 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 6 Apr 1994 05:37:50 -0700
Message-Id: <4518.9404061203@robinson.ecs.soton.ac.uk>
Date: Wed, 6 Apr 94 13:03:40 BST
From: Bob Kemp <rsk@ecs.soton.ac.uk>
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: msdosfs
>Number: 199
>Category: kern
>Synopsis: msdosfs
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 06 05:50:02 +0000 1994
>Closed-Date: Sat Aug 13 09:50:50 +0000 1994
>Last-Modified:
>Originator: Bob Kemp
>Release: -current 05Mar94
>Organization:
``very little''
>Environment:
System: NetBSD allegory 0.9a ALLEGORY#0 i386
>Description:
Creating lots of directories in a DOS filesystem can produce
an incorrect filesystem or panic the kernel.
>How-To-Repeat:
mount a DOS filesystem on (say) /mnt
mkdir /mnt/zxc
cd /mnt/zxc
mkdir {q,w,e,r,t,y,u}{q,w,e,r,t,y,u}
mkdir {q,w,e,r,t,y,u}{q,w,e,r,t,y,u}/{q,w,e,r,t,y,u}{q,w,e,r,t,y,u}
# At this point, produces an error message about freeing a free block
# with a real (ie hard disc) filesystem it panics
# with a vnode filesystem it only gives an error message
NB: the filesystem was clean according to the DOS chkdsk command
_before_ I tried this.
>Fix:
Use mtools :-)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Sat Aug 13 02:50:50 PDT 1994
State-Changed-Why:
This has been fixed.
>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.