From ingham@i-pi.com  Thu Oct 23 15:11:17 1997
Received: from fatman.i-pi.com (fatman.i-pi.com [198.49.217.3])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA01580
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 1997 15:11:16 -0700 (PDT)
          (envelope-from ingham@i-pi.com)
Received: (from ingham@localhost)
	by fatman.i-pi.com (8.8.5/8.8.5) id QAA13933;
	Thu, 23 Oct 1997 16:11:11 -0600 (MDT)
Message-Id: <199710232211.QAA13933@fatman.i-pi.com>
Date: Thu, 23 Oct 1997 16:11:11 -0600 (MDT)
From: Kenneth Ingham <ingham@i-pi.com>
Reply-To: ingham@i-pi.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: bad error return from rmdir() with msdos filesystems
X-Send-Pr-Version: 3.2

>Number:         4837
>Category:       kern
>Synopsis:       bad error return from rmdir() with msdos filesystems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 15:20:01 PDT 1997
>Closed-Date:    Sat Jan 23 11:07:44 PST 1999
>Last-Modified:  Sat Jan 23 11:09:26 PST 1999
>Originator:     Kenneth Ingham
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
Kenneth Ingham Consulting
>Environment:

FreeBSD 2.2.5 on a Dell Latitude XP 4100C.

>Description:

/dev/fd0 contains a msdos floppy.

Script started on Thu Oct 23 15:56:54 1997
Socrates# mount /dos
Socrates# mount
/dev/wd0a on / (local)
procfs on /proc (local)
/dev/fd0 on /dos (local)
Socrates# cd /dos/soluti~1/
Socrates# whoami
root
Socrates# rmdir lib
rmdir: lib: Directory not empty
Socrates# ls -a lib
.	..
Socrates# ls -ldo lib
drwxr-xr-x  1 root  wheel  arch 2048 Dec  5  1996 lib
Socrates# exit
Script done on Thu Oct 23 15:59:29 1997

>How-To-Repeat:

See the script above.

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rnordier 
State-Changed-When: Sat Jan 23 11:07:44 PST 1999 
State-Changed-Why:  
Stale: the msdosfs has been extensively revised since this was 
submitted.  Please submit a fresh PR if this is still an issue. 
>Unformatted:
