• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: opening file for reading updates modification time!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening file for reading updates modification time!


  • Subject: Re: opening file for reading updates modification time!
  • From: Jim Luther <email@hidden>
  • Date: Thu, 06 Feb 2014 10:11:04 -0800

The fs_usage command is handy for seeing what file system activity might be cause behaviors you see.

	sudo fs_usage -w -f filesys

And then look for accesses to your file in the output. You can see all of the command's options with:

	man 1 fs_usage

- Jim

On Feb 6, 2014, at 9:39 AM, Mark Day <email@hidden> wrote:

> I'll bet it's related to checksums.  DMG files can have a checksum, used to detect whether the DMG contents were corrupted in transport.  If I remember correctly, the Disk Images subsystem will verify the checksum the first time you use that image, and then mark it (with an extended attribute?) so that it won't have to verify the checksum again.  I'll bet the modification is it marking the image as being known to match its checksum.
>
> -Mark
>
> On Feb 6, 2014, at 9:30 AM, Alan Snyder <email@hidden> wrote:
>
>> I’ve run into an odd situation involving specific files in two specific encrypted sparse disk images. I open two files for reading and then close them. The file that is closed first has its modification time updated as if it had been modified. The behavior is repeatable if I start with (a copy of) the same DMG files. However, the problem only occurs once in the mounted file system. I’m guessing there is some kind of corruption in the disk image files that is resolved when the files are closed.
>>
>> Please tell me this problem was discovered and fixed a while ago… :-)
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Filesystem-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: opening file for reading updates modification time!
      • From: Alan Snyder <email@hidden>
References: 
 >opening file for reading updates modification time! (From: Alan Snyder <email@hidden>)
 >Re: opening file for reading updates modification time! (From: Mark Day <email@hidden>)

  • Prev by Date: Re: opening file for reading updates modification time!
  • Next by Date: Re: opening file for reading updates modification time!
  • Previous by thread: Re: opening file for reading updates modification time!
  • Next by thread: Re: opening file for reading updates modification time!
  • Index(es):
    • Date
    • Thread