MAC Times - Change Time and Creation Time (ctime)

Change Time and Creation Time (ctime)

Unix and Windows file systems interpret 'ctime' differently:

  • Unix systems maintain the historical interpretation of ctime as being the time when certain file metadata, not its contents, were last changed, such as the file's permissions or owner (e.g. 'This file's metadata was changed on 05/05/02 12:15pm').
  • Windows systems use ctime to mean 'creation time' (also called 'birth time') (e.g. 'This file was created on 05/05/02 12:15pm').

This difference in usage can lead to incorrect presentation of time metadata when a file created on a Windows system is accessed on a Unix system and vice versa. Most Unix file systems don't store the creation time, although some, such as HFS+, ZFS, and UFS2 do. NTFS stores both the creation time and the change time.

The semantics of creation times is the source of some controversy. One view is that creation times should refer to the actual content of a file: e.g. for a digital photo the creation time would note when the photo was taken or first stored on a computer. A different approach is for creation times to stand for when the file system object itself was created, e.g. when the photo file was last restored from a backup or moved from one disk to another.

Read more about this topic:  MAC Times

Famous quotes containing the words change, time and/or creation:

    ... often in the heat of noonday, leaning on a hoe, looking across valleys at the mountains, so blue, so close, my only conscious thought was, “How can I ever get away from here? How can I get to where they have books, where I can be educated?” I worked hard, always waiting for something to happen to change things. There came a time when I knew I must make them happen; that no one would do anything about it for me. And I did.
    Belinda Jelliffe (1892–1979)

    When I, sitting, heard the astronomer, where he lectured with such applause in the lecture room,
    How soon, unaccountable, I became tired and sick;
    Till rising and gliding out, I wander’d off by myself,
    In the mystical moist night-air, and from time to time,
    Look’d up in perfect silence at the stars.
    Walt Whitman (1819–1892)

    The private detective of fiction is a fantastic creation who acts and speaks like a real man. He can be completely realistic in every sense but one, that one sense being that in life as we know it such a man would not be a private detective.
    Raymond Chandler (1888–1959)