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

Do you mean default file magic: http://en.wikipedia.org/wiki/Magic_number_(programming)

Or do you mean storing a database of the application associated, specifically, with any given file (so that I might open, say, a given myprog.c with vi, emacs, or textmate)?

The Mac OS resource fork model attempts the second, but it's an inherently single-user concept that leaves artifacts around for other users and/or on shared media in an annoying way. A shadow filesystem maintained on a per-user basis under their control would be a preferred solution.



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

Search: