Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2011 15:40:31 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: touch(1) not working on directories in an msdosfs(5) envirement
Message-ID:  <1092971110.92110.1313782831745.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <20110819190324.GA78837@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Best wrote:
> hi there,
> 
> can somebody confirm this issue? is it already known?
> 
> otaku% ll|grep HELL
> drwxr-xr-x 1 arundel arundel 16384 19 Aug 19:57 HELLO
> -rw-r--r-- 1 arundel arundel 0 19 Aug 20:13 HELLO2
> otaku% touch HELLO*
> otaku% ll|grep HELL
> drwxr-xr-x 1 arundel arundel 16384 19 Aug 19:57 HELLO
> -rw-r--r-- 1 arundel arundel 0 19 Aug 20:55 HELLO2
> 
Yes, FAT file systems do not maintain a directory modify
time. (The original FAT12,16 structure didn't even have a
modify time for the root dir.)

Just like Windows.

This causes issues when a FAT fs is exported via NFS and
someone was going to experiment with an "in memory only"
modify time for dirs, to minimize caching issues, but I
haven't heard back from them lately.

Apparently Mac OS X chooses to update the modify time that
exists on FAT32 file systems, but that isn't Windows compatible.

rick
> doing the same on a UFS2 partition works as expected.
> 
> 
> cheers.
> alex
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"



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