Assembling the history of Unix
Assembling the history of Unix
Posted Jun 15, 2017 6:01 UTC (Thu) by pbonzini (subscriber, #60935)In reply to: Assembling the history of Unix by smoogen
Parent article: Assembling the history of Unix
You can use SHA1 and truncate it. With two-character directory names and Sid-character file names, you can store 2^32 files/trees/commits. After 2^16 on average you'll get a collision, but you'll probably have filled up your disk first.
Posted Jun 15, 2017 6:02 UTC (Thu)
by pbonzini (subscriber, #60935)
[Link]
Assembling the history of Unix
Six-character. My phone is a Debian user apparently, or a Sex Pistols fan.