From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 22 21:41:38 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2935106564A for ; Tue, 22 Jun 2010 21:41:38 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 369CE8FC17 for ; Tue, 22 Jun 2010 21:41:36 +0000 (UTC) Received: by vws14 with SMTP id 14so514831vws.13 for ; Tue, 22 Jun 2010 14:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=qjlEa0mRrpa1GJi2yL+bp0Ohn43S9mf4J03cpwOjy6U=; b=uA6y+qsle2GAyOX04tRV8pkobojG+30hlwJGUykWsyNUuWNVH124YuBLu2BbIYkawz XNrMa8KUMlKAQbYdglcrT9QN8pqwPXPDr8KlpK2Eb2MO1ocBQxjdKKLdjEurRnOqt95T arMa8RX0M2gwkQxRhMXn97IPQt+tapHp7giYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CqhO9wgS6aQQqJcA/MVG9IxcrJBn62dCFkBXPSr2aQ8lQxNZ4bFzjXnIUKgilTft+C f+UjN1zM9v7sxhOyPUlByjqOKrCUh37yGvwPbdrHzhFRKiEofuNqMTTsqTWGH1et8Db9 Y+LBLw1Q53k61Nt0icSJlTl3YNh8OHB0Hx7Ds= MIME-Version: 1.0 Received: by 10.220.124.66 with SMTP id t2mr3423202vcr.186.1277237596981; Tue, 22 Jun 2010 13:13:16 -0700 (PDT) Received: by 10.220.188.76 with HTTP; Tue, 22 Jun 2010 13:13:16 -0700 (PDT) Date: Tue, 22 Jun 2010 16:13:16 -0400 Message-ID: From: grarpamp To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Tue, 22 Jun 2010 21:45:58 +0000 Subject: msdosfs exit status, failures: chmod, touch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 21:41:39 -0000 This exit should not be 0, regardless of msdosfs or not. Same for if the '.' dir entries do in fact have B/M/A/C times, operations on those entries should update those times accordingly, as subdirs do. RELENG_8. Thanks. # newfs_msdos /dev/fd0 /dev/fd0: 2829 sectors in 2829 FAT12 clusters (512 bytes/cluster) BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512 Sectors=2880 Media=0xf0 FATsecs=9 SecPerTrack=18 Heads=2 HiddenSecs=0 # mount_msdosfs /dev/fd0 /mnt # ls -alt /mnt total 18 drwxr-xr-x 22 root wheel 512 Jun 8 17:00 .. drwxr-xr-x 1 root wheel 16384 Dec 31 1979 . # chmod 1777 /mnt ; echo $? 0 # touch /mnt ; echo $? 0 # ls -alt /mnt total 18 drwxr-xr-x 22 root wheel 512 Jun 8 17:00 .. drwxr-xr-x 1 root wheel 16384 Dec 31 1979 .