News for hackers. Stuff that matters.
Re:Rob Pike: the origin of dotfiles by tyrmored on Thursday August 02, 2012 @09:44PM (#4332087)
This is a problem that libetc is supposed to help solve: http://ordiluc.net/fs/libetc/
Re:Rob Pike: the origin of dotfiles by deno on Thursday August 02, 2012 @10:11PM (#4332159)
That’s nice, shame it’s not maintained. On the other hand, one the goals of XDG is to differentiate between application cache, actual settings etc. If FooApp stores 2GB cache file in .foo, redirecting it blindly to .config just makes my backups that much harder.
Re:Rob Pike: the origin of dotfiles by malkia on Thursday August 02, 2012 @09:45PM (#4332091)
It also begs the question, why it was named "etc" :)
Re:Rob Pike: the origin of dotfiles by spitfire on Thursday August 02, 2012 @10:08PM (#4332153)
You can ask this question for most of unix. Why /etc? Why /bin and /usr/bin? (Answer: At one time hard disks were very small and crashed a lot), why do we presume screens are black and white, etc, etc.

Try to change any of it though, and a lot of luddites will come out screaming bloody murder. It's just not UNIX if it makes sense.

Re:Rob Pike: the origin of dotfiles by szopa on Thursday August 02, 2012 @10:20PM (#4332190)
The origins of /etc are lost in history. Wikipedia [1] says that at Bell Labs /etc was pronounced "et caetera," and contained files that didn't belong elsewhere. And it had the advantage over conf or misc that it was only 3 letters.

[1] http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

Re:Rob Pike: the origin of dotfiles by noibl on Thursday August 02, 2012 @10:10PM (#4332156)
Maybe the alternative was "..." :)
Re:Rob Pike: the origin of dotfiles by napum on Thursday August 02, 2012 @09:53PM (#4332114)
I'm guessing it's because /etc contains configuration files and dot-files are just configuration files. Or do you mean, why was /etc named etc?
Re:Rob Pike: the origin of dotfiles by petercooper on Thursday August 02, 2012 @10:12PM (#4332167)
For the latter, a lazy copy/paste from Wikipedia:

"There has been controversy over the meaning of the name itself. In early versions of the UNIX Implementation Document from Bell labs, /etc is referred to as the etcetera directory as this directory historically held everything that did not belong elsewhere (however, the FHS restricts /etc to static configuration files and may not contain binaries)."

Re:Rob Pike: the origin of dotfiles by deno on Thursday August 02, 2012 @10:12PM (#4332166)
I think they meant the latter. Why is it /etc instead of, perhaps more obvious, /config or /settings?
Re:Rob Pike: the origin of dotfiles by malkia on Thursday August 02, 2012 @10:43PM (#4332265)
If it was meant for configuration - probably it would've been - /cfg /ini /set /opt /flg /arg /prm (params)

As someone said - naming things is the hardest!

Re:Rob Pike: the origin of dotfiles by agumonkey on Thursday August 02, 2012 @11:56PM (#4332454)
my de-obfuscation attempt:

etc > e.t.c > edit to configure.

the .rc suffix has a nice history btw

Re:Rob Pike: the origin of dotfiles by raylu on Friday August 03, 2012 @01:39AM (#4332738)
What's the history of that?
Re:Rob Pike: the origin of dotfiles by agumonkey on Friday August 03, 2012 @02:49AM (#4332889)
Legacy of the runcom shell that let's you record sequence of commands.

http://en.wikipedia.org/wiki/Run_commands