Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Come on…an "explainer" of .DS_Store that doesn't even mention resource forks is misinformation.


It just used different words. "Sometimes they’re confused with another annoying but more useful hidden file: shadow files whose names start with ._ which are used to carry extended attribute data as part of the AppleDouble file format used on some FAT file systems."


Yep, .DS_Store files have nothing to do with resource forks.

Resource forks are a filesystem feature (well forks are a filesystem feature and resource forks are an application of that feature). AppleDouble is a way of storing the information that would be in resource forks on filesystems that don't provide forks or similar functionality.


They have everything to do with resource forks. The metadata in DS_Store is stuff that was originally stored in the resource fork on earlier MacOSii; the file's existence is a cludge created to deal with the lack of resource forks when the decision was made to design OS X with POSIX-compatibility.



Fond memories of messing around with ResEdit in classic MacOS intensify




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: