[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Date/time stamps on files to help with hardlinking



> -----Original Message-----
> From: fedora-legacy-list-admin redhat com 
> [mailto:fedora-legacy-list-admin redhat com] On Behalf Of 
> Jesse Keating
> Sent: Thursday, March 04, 2004 11:37 AM
> To: fedora-legacy-list redhat com
> Subject: Re: Date/time stamps on files to help with hardlinking
> 
> 
> On Thursday 04 March 2004 11:33, Villalovos, John L wrote:
> > Is there any possibility of getting the files which are identical to
> > have the same date/time stamps on the repository?
> 
> I could yet.  However, I wonder, if the files are named the same, but 
> are different contents, but have the same timestamp, will hardlink 
> think they need to be linked?

No.  Hardlink looks at all of the following before doing a hardlink:

*	file mode/permissions
*	owner user id
*	owner group id
*	file size
*	modified time
*	and finally file contents must be equal.

John




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]