From jlido@helium.goof.com  Thu Jan 16 07:26:48 1997
Received: from helium.goof.com (helium.goof.com [198.82.228.148])
          by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id HAA25910
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 16 Jan 1997 07:26:47 -0800 (PST)
Received: (from jlido@localhost) by helium.goof.com (8.7.5/8.6.12) id KAA01813; Thu, 16 Jan 1997 10:26:49 -0500 (EST)
Message-Id: <199701161526.KAA01813@helium.goof.com>
Date: Thu, 16 Jan 1997 10:26:49 -0500 (EST)
From: Jon-Erik Lido <jlido@helium.goof.com>
Reply-To: jlido@helium.goof.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: MSDOSFS directory bug
X-Send-Pr-Version: 3.2

>Number:         2507
>Category:       kern
>Synopsis:       Renaming DOS directories with "mv" causes corruption.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 16 07:30:01 PST 1997
>Closed-Date:    Fri Sep 11 12:44:23 PDT 1998
>Last-Modified:  Fri Sep 11 12:45:39 PDT 1998
>Originator:     Jon-Erik Lido
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:

	FreeBSD 2.1.5, Windows 95

>Description:

	Renaming MSDOS directories mounted under FreeBSD with the "mv"
	seems to slightly corrupt the filesystem.  I believe it is
	creating a circular directory structure somehow with the a
	directory of the new name inside the old directory.

>How-To-Repeat:

	Mount a DOS filesystem read/write.  Create a directory.  Rename
	the directory with "mv" as you would with a unix directory.
	Voila!  Busted directory.

>Fix:
	
	Under DOS scandisk is able to correct the damage, but I don't
	know what the source of the problem is.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dt 
State-Changed-When: Fri Sep 11 12:44:23 PDT 1998 
State-Changed-Why:  
This problem was fixed in the las MSDOSFS merge from NetBSD. 
>Unformatted:
