Re: st_ctimespec not implemented?
Re: st_ctimespec not implemented?
- Subject: Re: st_ctimespec not implemented?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 26 Jun 2008 15:46:36 +0200
Le 26 juin 08 à 15:29, Chris a écrit :
I was looking for a way to figure out how long files have been in
the trash, and I was hoping that stat.st_ctimespec would provide
that, seeing as stat(2) says that rename(2) and link(2) will update
the ctime.
However this isn't the case. Renaming files doesn't affect the
ctime. Is this because Darwin doesn't implement ctime, or because HFS
+ doesn't implement it, or am I missing something else?
Or because moving a file on HFS+ is not considere as renaming it ? On
HFS+, the file name is just an other metadata (like ctime) and is not
formely part of the path.
Moving a file in HFS+ is just changing its parent, not its name.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden