From owner-freebsd-fs@FreeBSD.ORG Fri Aug 19 19:40:33 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C763106564A for ; Fri, 19 Aug 2011 19:40:33 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id DAFEE8FC1E for ; Fri, 19 Aug 2011 19:40:32 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EAG+7Tk6DaFvO/2dsb2JhbABBhEukOYFAAQEBAQMBAQEgKyALGw4KAgINGQIpAQkYAQ0GCAcEARwEh1SnNZE7gSyEDIEQBJEFgg6REQ X-IronPort-AV: E=Sophos;i="4.68,252,1312171200"; d="scan'208";a="131640050" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 19 Aug 2011 15:40:31 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id B962BB3F2B; Fri, 19 Aug 2011 15:40:31 -0400 (EDT) Date: Fri, 19 Aug 2011 15:40:31 -0400 (EDT) From: Rick Macklem To: Alexander Best Message-ID: <1092971110.92110.1313782831745.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <20110819190324.GA78837@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.202] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-fs@freebsd.org Subject: Re: touch(1) not working on directories in an msdosfs(5) envirement X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 19:40:33 -0000 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"