Subject: kern/9116: bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ezy@panix.com>
List: netbsd-bugs
Date: 01/04/2000 09:39:39
>Number:         9116
>Category:       kern
>Synopsis:       msdosfs trashes filesystem on ZIP disks
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan  4 09:39:00 2000
>Last-Modified:
>Originator:     Ezra Story
>Organization:
	none
>Release:        -current ~ 12/20/99
>Environment:
NetBSD/i386

>Description:

  ZIP drive on sd0, preformatted ZIP disk in drive with some stuff in its
  filesystem (FAT)

	mount_msdos -l -u ezy /dev/sd0h /zip

  Can see the fs fine.  Move around, etc.  cd into a directory with some
  files.

        touch abogusfilename.cpp
	cp abogusfilename.cpp .abogusfilenam.cpp~
	rm abogusfilename.cpp
	mv .abogusfilename.cpp~ abogusfilename.cpp

  After this, the behavior is apparently random.  Sometimes all
  the files disappear and only the touched file is present.
  Sometimes there are no files, sometimes files turn into
  directories...etc..etc.

  I have not had time to thoroughly test on other fs's (floppy), but I thought
  I'd better PR it before someone else is bit.


>How-To-Repeat:
  See above.
>Fix:
  unknown

>Audit-Trail:
>Unformatted: