kern/93634: msdosfs: False access to renamed files/directories (case bug)

Rudolf Cejka cejkar at fit.vutbr.cz
Tue Feb 21 02:50:06 PST 2006


>Number:         93634
>Category:       kern
>Synopsis:       msdosfs: False access to renamed files/directories (case bug)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 10:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rudolf Cejka
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
FIT, Brno University of Technology, Czech Republic
>Environment:

Tested under 6.0-STABLE (Nov 8 2005) and 7.0-CURRENT (Jan 13 2006).

>Description:
and How-To-Repeat:

I think that this sequence of commands and commencs is self-explaining:

# mount -t msdos /dev/da0s1 /stick
$ cd /stick
$ echo File > f
$ cat F		# Create "F" in kernel cache for file "f"
File
$ mv f g	# Move f to g
$ cat F		# "F" is still as a valid reference:to already renamed file
File

However the correct behaviour should be:
$ cat F
cat: F: No such file or directory

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list