|
|
Subscribe / Log in / New account

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.


to post comments

Assembling the history of Unix

Posted Jun 15, 2017 6:02 UTC (Thu) by pbonzini (subscriber, #60935) [Link]

Six-character. My phone is a Debian user apparently, or a Sex Pistols fan.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds