Advertisement
Advertisement
β‘ Community Insights
Discussion Sentiment
100% Positive
Analyzed from 326 words in the discussion.
Trending Topics
#colon#foo#bar#finder#slash#name#file#paths#names#heredoc
Discussion Sentiment
Analyzed from 326 words in the discussion.
Trending Topics
Discussion (6 Comments)Read Original on HackerNews
Double colon (::) meant the same as .. on Unix/DOS, that is "go up one level". So you have to be careful when concatenating paths to not get double separators.
Paths starting with : were relative. If a path didn't start with the separator, the first component was the volume name (disk partition). Again, quite unlike Unix.
Also, remember it was common to have spaces in names on Mac, even the default harddrive on Macs was named "Macintosh HD". So an absolute path like "Macintosh HD:Programs:MacWrite" would have been common. (I grew up with Macs in Swedish, so I'm back translating the names here, could be that the names were slightly different in English.)
So who is lying, how is it stored in the directory entry in APFS itself?