NetBSD Problem Report #564

From gnats  Tue Nov  8 14:30:46 1994
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id OAA01440 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 8 Nov 1994 14:30:46 -0800
Message-Id: <9411081401.AA16663@hdssun1.hds.com>
Date: Tue, 8 Nov 94 09:01:55 EST
From: mikeh@hds.com
Reply-To: mikeh@hds.com
To: gnats-bugs@NetBSD.ORG
Subject: msdosfs incompatibility with NFS
X-Send-Pr-Version: 3.2

>Number:         564
>Category:       kern
>Synopsis:       msdosfs is incompatible with NFS
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    jdolecek
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 08 14:35:02 +0000 1994
>Closed-Date:    Fri Oct 12 17:55:37 +0000 2001
>Last-Modified:  Fri Oct 12 17:55:37 +0000 2001
>Originator:     Mike Hartman
>Release:        19941108
>Organization:
Human Designed Systems, Inc.
>Environment:

System: SunOS hdssun1 4.1.3 1 sun4m
Architecture: sun4

>Description:
	Since msdosfs does not update the modification times for directories,
	it is incompatible with NFS.  Some NFS clients cache info on
	directories and files and the file modification time is used to
	determine if the the cached info is valid.

>How-To-Repeat:
	When an msdosfs filesystem is NFS mounted from a Sun running
	SunOS 4.1.3, the following example shows the problem:

	sun>cd subdir1/subdir2
	sun>cd ..
	sun>mv subdir2 ..
	sun>cd ../subdir2
	sun>cd ..
	sun>pwd
	current directory is 'subdir1'.

>Fix:
	One possible solution is for msdosfs to update the file modification
	times for directories on the disk.  Would MS-DOS complain?  If so,
	the file modification times for directories' RAM entries (denodes)
	could be updated without modifying the data on the disk.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->kern-bug-people 
Responsible-Changed-By: fair 
Responsible-Changed-When: Mon Dec 28 12:49:25 PST 1998 
Responsible-Changed-Why:  
This PR is the responsibility of the kern-bug-people, 
not the GNATS database administrator. 
Responsible-Changed-From-To: kern-bug-people->jdolecek 
Responsible-Changed-By: jdolecek 
Responsible-Changed-When: Sun Oct 31 11:23:27 PST 1999 
Responsible-Changed-Why:  
I'll take care about this one. 
State-Changed-From-To: open->suspended 
State-Changed-By: jdolecek 
State-Changed-When: Tue Jun 19 10:57:20 PDT 2001 
State-Changed-Why:  
msdosfs semantics just isn't compatible with NFS. Directory dates 
should not be updated by msdosfs. Albeit it would be possible 
to come up with some way to work around it, such solution would 
inevitably be incomplete. 
State-Changed-From-To: suspended->closed 
State-Changed-By: jdolecek 
State-Changed-When: Fri Oct 12 10:52:54 PDT 2001 
State-Changed-Why:  
Unfortunately, this is just fact of life. Due to how msdosfs is structured, 
changing on-disk directory date would mean updating potentially huge 
number of other directory entries - the 'directory' on msdosfs is an on-disk 
structure ad the '.' and '..' entries are on different place and would need 
to be updated too. This is just not feasible to do. Since no real solution 
exists, I'm closing the PR. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.