Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2006 11:41:16 +0100 (CET)
From:      Rudolf Cejka <cejkar@fit.vutbr.cz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/93634: msdosfs: False access to renamed files/directories (case bug)
Message-ID:  <200602211041.k1LAfG4e039861@kazi.fit.vutbr.cz>
Resent-Message-ID: <200602211050.k1LAo4OF074988@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602211041.k1LAfG4e039861>