Volume creation date attribute?
Volume creation date attribute?
- Subject: Volume creation date attribute?
- From: James Bucanek <email@hidden>
- Date: Sat, 29 Sep 2012 12:05:32 -0700
Greetings,
The Core Services file manager routines would return a "create
date" property for volumes (FSVolumeInfo.createDate). This is
the same "created" date you see in the Finder's Get Info window.
Is there an equivalent in the BSD/NS/CF APIs? I can find no
attribute (for getattrlist(), NSURL, or CFURL) or field (in
statfs) that corresponds to that value.
Writing a few test programs, I did discover that getting the
creation date of the mountpoint directory (statfs.f_mntonname)
for the volume returns the creation date of the volume as
reported by FSGetVolumeInfo.
Is this by design or simply happenstance? If the former, is it
reasonably safe to rely on it in the future?
James
--
James Bucanek
_______________________________________________
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