<p>Yes, that's pretty much it. The finger printing code calculates a unique identifier for each file's location. This is comprised out of the device id and inode number of the parent dir and the filename. If the parent dir is not on disk yet, the closest dir is used + the path down to the parent to be installed.<br>
fpLookupSubdir looks for symlinks that may alias the files in this - not yet installed - part of the path. Yes, it assumes that the symlink actually gets installed. But this is not an unreasonable assumption as we do a file conflict checks for this symlinks, too.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1071?email_source=notifications&email_token=ADLPZU4IDGRFTZGUYRN2XWDRDJG7JA5CNFSM4KVJ6T3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5ST7I#issuecomment-586885629">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU7QH4XMC7W63237UZ3RDJG7JANCNFSM4KVJ6T3A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUZ6FUQE25OJRLRLIM3RDJG7JA5CNFSM4KVJ6T3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5ST7I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1071?email_source=notifications\u0026email_token=ADLPZU4IDGRFTZGUYRN2XWDRDJG7JA5CNFSM4KVJ6T3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5ST7I#issuecomment-586885629",
"url": "https://github.com/rpm-software-management/rpm/pull/1071?email_source=notifications\u0026email_token=ADLPZU4IDGRFTZGUYRN2XWDRDJG7JA5CNFSM4KVJ6T3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL5ST7I#issuecomment-586885629",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>