Slashdot Mirror


Define - /etc?

ogar572 asks: "There has been an ongoing and heated debate around the office concerning the definition of what /etc means on *nix operating systems. One side says "et cetera" per Wikipedia. Another side says it means 'extended tool chest' per this gnome mailing list entry or per this Norwegian article. Yet another side says neither, but he doesn't remember exactly what he heard in the past. All he remembers is that he was flamed when he called it 'et cetera', but that 'extended tool chest' didn't sound right either. So, what does it really mean?"

96 of 548 comments (clear)

  1. It means by offlerthecrocgod · · Score: 5, Funny

    It means etc...

    --
    Shin: a device for finding furniture in the dark.
    1. Re:It means by Anonymous Coward · · Score: 3, Informative

      don't wanna hijack FP, and i'm sure it's mentioned below, but what it really means is:

      Editable Text Configuration

      I belive i got it from the FHS pdf ages ago, and since I also asume et cetra for ages, this came as a suprise, but it does make sense if you think about it. Remember the 'no binaries in /etc' rule? Well if it's only editable text configurations that's allowed there, makes sense then don't it.

    2. Re:It means by Anonymous Coward · · Score: 5, Funny

      etc tool chest

    3. Re:It means by ultranova · · Score: 2, Funny

      Judging by things like "GNU's Not Unix" "etc" is obviously short for "etc's the champ".

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    4. Re:It means by SpankR · · Score: 2, Informative

      Using an ellipses after "etc" is redundant. Just use "etc." ...

    5. Re:It means by Stealthey · · Score: 3, Interesting

      As far as I recall, I used to call it et cetera too, but then I was corrected/flamed once, and was basically told that etc stands for, "everything configurable".

      --
      I am at loss with words...
    6. Re:It means by kumachan · · Score: 3, Funny

      Exists To Confuse

    7. Re:It means by shokk · · Score: 3, Interesting

      We always pronounced it "slash et cee" since all your other recommendations are too damn long.

      --
      "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
    8. Re:It means by HomelessInLaJolla · · Score: 3, Informative

      I belive i got it from the FHS pdf ages ago Correct. Full explanation and rationale for the Linux filesystem can be found here. It is possible that other sources of rationale and explanation exist in other, more venerable, locations associated with AT&T, Bell Labs, BSD, and others who were present at the time that the whole thingw as being fleshed out. This link, and the sections immediately following it, contain the contact information for the people who know where the material originated.
      --
      the NPG electrode was replaced with carbon blac
    9. Re:It means by Anonymous Coward · · Score: 5, Informative

      The UNIX Programming Environment written by Brian W. Kernighan and Rob Pike of Bell Labs, published in 1984 by Prentice Hall defines /etc as et cetera on page 63. IMO this is the single best Unix book ever wriiten to learn Unix.

    10. Re:It means by CAIMLAS · · Score: 2, Funny

      I worked with a guy once who called "et see" instead of the historical "et cetera". Ironically, he'd supposedly (I doubted the veracity of his claims based on his relative level of knowledge - or lack thereof) been working with Linux/Unix for longer than I.

      The first time he said "et see" it took him a good five minutes to explain to me what he was talking about, because he lacked the verbal skill required for sentences. And I eventually gave up saying "et cetera" in preference over "et see" - because he would ask me what I was talking about almost every single time.

      God I'm glad I don't work with him anymore.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  2. Its pronounciation gives us a clue by crath · · Score: 5, Informative

    Long time UNIX hacks---and by that I mean UNIX guys from the early-1980s---pronounce /etc as "slash ett cee"; to me that makes it clear that /etc's origins are as "et cetera".

    1. Re:Its pronounciation gives us a clue by JabberWokky · · Score: 2, Interesting
      As a long time UNIX guy... and yes, that means from the early 80s... I have always pronounced "/etc" as "et see", and "etc." as "et setra". I picked that up from even older UNIX guys, so I would guess that is the "proper" way to pronounce it by convention, the above thread notwithstanding. I also have no idea what it refers to, as I mentally just think of it as static configuration files. I'd guess "etc.", but it's a purely baseless guess.

      Remembering what the hell I was doing in my young'uns pants 25 years ago is hard enough. Trying to remember if I heard a bit of useless trivia that I've never really thought about since, not gonna happen. The way to pronounce something, on the other hand, is reinforced through the years.

      --
      Evan

      --
      "$30 for the One True Ring. $10 each additional ring!" -- JRR "Bob" Tolkien
  3. Could be... by lpangelrob · · Score: 2, Insightful

    Is (!(/usr) && !(/bin) && !(/mnt) ...) a correct answer?

  4. Re:I vote for et cetera by crath · · Score: 3, Informative

    "/var" didn't exist until long after "/etc" was created; so, you can't look to /var's use to provide a clue to /etc's origins.

  5. Configs by Chemisor · · Score: 5, Funny

    Enormous Trove of Configuration files, that's what it is.

  6. I know who to ask by Anonymous Coward · · Score: 2, Funny

    But I'm afraid Ken Thompson or Dennis M. Ritchie would rather talk to their own poop than to Slashdot journalists.

    So we rather speculate.

  7. Extended Tool Chest? by Wdomburg · · Score: 5, Insightful

    Considering none of the other standard directories are acronyms, I'd have to call bulltish on this one. :)

  8. Wow, I feel old by Spackler · · Score: 5, Informative

    20 years ago, there was nothing to settle. It was et cetera. It was named that because of what it was used for. The configuration files for other things that live elsewhere. It provided a short reference to those files. Also notice how we did not like to type back then. Before that time, you were typing on what amounted to a glorified printer with a keyboard, so every char you did not have to type was great. One central location for binaries with a 3 letter name. Everyone knew where everything was. I'd get flamed if I said it was better than it is now, but it really was more elegant.

    Extended tool chest? Yeah, name tools that go in /etc. It all followed logic back then. Anyone loading tools in /etc would have been the one getting flamed for not knowing how to organize a system.

    Ok, now I really do feel old because it was more than 20 years ago. Sad because I was smart enough to answer this and not smart enough to make millions when the industry took off. I'm also too stupid to understand flame wars. If you like your system a different way, do it. If you think I should do mine different, pound sand.

    1. Re:Wow, I feel old by Anonymous Coward · · Score: 5, Informative

      I agree. I've been using UNIX since 1985 and it was *always* just "slash-et-cee" and meant etcetra. The whole "Extended tool chest" is just a silly Backronym. However...

      However...

      > Yeah, name tools that go in /etc.

      Actually prior to the creation of /sbin it actually was common for system binaries (like init, mkfs, mount, ...) to be placed in /etc. Eventually people realized that using a single directory for both configuration files and binaries was disgusting and /sbin came into being. By the mid 90's most modern UNIX variants had moved all the binaries to /sbin. Some OSes still provide symlinks for compatibity though: try a "ls -l /etc | grep sbin" on a Solaris machine some time.

    2. Re:Wow, I feel old by Coeurderoy · · Score: 4, Informative

      So do I, ;-), I remember very well my first contact with Unix in the summer of 81 at UCB.
      "Ok, you create files in your home directory, you will find the commands in bin or usr bin, .... and if you're curious you can look at the /etcetra directory, that is the place where all the rest of "usefull stuff" goes, mostly initialisation files and some shared configuration".

      Well now of course I know the people there lied to me it really means "extraterrestrial creative tormentators", and proves that the aliens are dislexics.

      Cheers: and don't worry there is still some blood left in us old *IX farts.
      Did you notice that even the "coolest youngsters" do not dare to have something like the '85 Usenix "Sex, Drugs and Unix" Badge ?

    3. Re:Wow, I feel old by ctr2sprt · · Score: 2, Interesting

      # uname
      SunOS
      # ls -l /etc/init
      lrwxrwxrwx 1 root root 12 Feb 4 11:24 /etc/init -> ../sbin/init

      I suspect that if you checked an older version like Solaris 5.6 (or 6 or 2.6 or whatever the fuck they called that version), you'd find that init is actually located in etc and it's sbin that has the symlink. Historically, Unix has put a lot of binaries in /etc, which certainly lends support to the "et cetera" explanation.

    4. Re:Wow, I feel old by terjetrane · · Score: 2, Informative

      The manual from 1971 on http://cm.bell-labs.com/cm/cs/who/dmr/1stEdman.htm l shows that several programs, among them assembler (The B Assembler), compilator and libraries etc. (pun not intended) were in /etc.

      Interesting comment about boot:

      NAME boot -- reboot system

      SYNOPSIS /etc/boot

      DESCRIPTION boot logically a command, and is kept in /etc only to lessen
      the probability of its being invoked by accident or from
      curiosity. It reboots the system by jumping to the read--only
      memory, which contains a disk boot program. ...and similar for mkfs:

      This program is kept in /etc to avoid inadvertant use and
      consequent destruction of information.

    5. Re:Wow, I feel old by trb · · Score: 5, Informative

      /etc is et cetera. And dsw, the predecessor to rm -i, has a more amusing etymology. I've been hacking UNIX since v6. If I needed a source of reliable UNIX history, I would not turn to the Gnome project, and I would not turn to Norway. If you want an authoritative answer, ask Dennis Ritchie. If you want a reliable answer, try an old USENIX hacker, or UNIX historian Peter Salus.

    6. Re:Wow, I feel old by Mr.+Protocol · · Score: 4, Insightful

      I'm even older. I've been doing UNIX since v5 in about 1974. And /etc means et cetera. I wasn't even aware people were back-forming revisionist interpretations. How odd.

      This is the sort of thing that makes me distrust historical interpretation of stuff that actually matters.

  9. Useless question by slamb · · Score: 2, Informative
    Why it was called that is at best a trivia question. A more directly useful question is what it should be used for. The Filesystem Hierarchy Standard version 2.3 (primarily used by Linux people, I think) says this:

    The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary. [4]

    IIRC, some other systems (SunOS?) used to put binaries in there, which never made sense to me

  10. Re:Bullshit! by RoutedToNull · · Score: 2, Informative

    Oh Jesus, get off your high horse you elitist prick.

  11. Backward etymology by hey! · · Score: 5, Informative

    I'm pretty sure it is "et etera". I've been mucking with Unix since Unix V7 (1980), and I've never heard of "extended tool chest". It doesn't really make sense because you don't put any tools there. If there were any "tools" to be put in an "extended chest", they'd have gone in "/usr/local" back in the day. That was before the practice of having an "/opt" directory evovled.

    I always assumed that configuration stuff got shoved in etc because it wasn't a program (that would go in "/bin") it wasn't a library ("/lib") and it wasn't some sort of user data ("/usr" -- this was before "/home"). It was something else, so it went in a place set aside for miscellany :"/etc". Over the years it became clear that "/etc" was very important, and "/usr" was too cluttered, etc., and thus we have the evolution of the modern Unix file hierarchy.

    The hierarchy may include historical obscurities such as "/etc", but it is remarkably well thought out. It shows the wisdom of abstracting the file system from storage devices. "/etc" also eliminates, or at least reduces the argument for, a system wide registry file such as Windows has, which has turned out to cause as many problems as it solves.

    But it is undoubtedly a bit obscure to the newcomer's eye.

    I remember the 1980s when the microcomputer transformed business. In the mid 1980s, most people who worked in computers had been weaned on, or least familiarized, with some form of Unix. When I started my job at one place around 1986, my predecessor had arranged everybody's file systems so their applications were stored in folder under a "bin" folder at the root (this was a Mac shop). By 1990, I was hiring people who had only used personal computers and had never used Unix. One of those people extended the "bin" traditoin by naming the application folder "Bin of Applications" -- as if "bin" referred to an open box, rather than "binary". It gave me a chuckle. "Bin of Applications" carried the idea to the user much better than "bin", and posed no particular inconvenience on a system where you never have to type path names.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    1. Re:Backward etymology by cortana · · Score: 2, Insightful

      Please do not do Gconf the disservice of comparing it to the registry.

      You might as well make the same comparison for any library that gives apps a standard way to query configuration options, and that stores the data in a standard format.

    2. Re:Backward etymology by Bandman · · Score: 2, Funny

      Hey! You! You there, with your low slashdot number and your posts making sense! Ha! See if we listen to YOUR logic and experience! This is OUR flame war! Just because we've never touched anything more antique than Fedora Core 2 doesn't mean we don't know anything about the dark, mysterious history of Unix! Go back to your smarmy little terminal screens and your ascii based adventure games and leave the commenting to us REAL experts on the subject. We don't know what a teletype is, and we have some sort of vague idea that LISP might be a speech impediment, but we're doing just fine without your type in here interfering!

  12. Re:Pronunciation? by ari_j · · Score: 5, Informative

    I'm replying to you because you were more polite than the sibling. Just because the word "cetera" is Latin does not mean that it is pronounced with an S sound. In fact, in Latin, it would never have been pronounced that way. In the days of Caesar, it would have been pronounced with a K sound and, as the Latin language evolved into ecclesiastical Latin, it would be pronounced with a CH sound.

    The pronunciation with an S sound comes from the way that Latin words have usually been anglicized. Most often, the letters are pronounced as in English but the syllables are accented as in the original Latin.

  13. Not an acronym by Spazmania · · Score: 4, Interesting

    Why would /etc be an acronym when every other directory off root is an abreviation? /bin - binaries /boot - bootstrap files /dev - devices /home - user home directories /lib - libraries /mnt - temporary mounts /proc - processes /sbin - static binaries /tmp - temporary files /usr - user programs (not boot critical) /var - variable data

    --
    Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    1. Re:Not an acronym by technothrasher · · Score: 2, Informative

      /sbin and /usr/sbin are for binaries used by the super-user (root, rather than normal users) - they aren't statically linked.
       
      Yeah, that's how it seems to be used today. But back in the dark ages /sbin was for statically linked binaries. The idea being that these were critical tools that could be used even if only the root file system was mounted.

  14. Re:Pronunciation? by Chris+Mattern · · Score: 4, Interesting

    The correct pronunciation is "et setera", since it is taken directly from Latin.


    In which, ironically, it is pronounced "et ketera" (stress on the "ke" and remember to roll the r). English has done really weird things to the pronounciation of Latin.

    Chris Mattern

  15. /etc has not always been just configuration files by Esel+Theo · · Score: 3, Insightful

    Old Unix systems (at least I remember this for SCO OpenServer) also had a bunch of executables in /etc. This is still the case to a limited extent. Think of /etc/init.d/*.

  16. Re:etc stands for... by an.echte.trilingue · · Score: 2, Funny

    Editable Text Configuration
    That sounds like the most reasonable response to me, but do you have any references (so that we can correct wikipedia)?
    --
    weirdest thing I ever saw: scientology advertising on slashdot.
  17. Re:I vote for et cetera by AsnFkr · · Score: 5, Funny

    "/var" didn't exist until long after "/etc" was created; so, you can't look to /var's use to provide a clue to /etc's origins.

    server / # ls -lah
    total 72K
    drwxr-xr-x 47 root root 4.0K Feb 11 10:23 etc
    drwxr-xr-x 14 root root 4.0K May 11 2005 var


    Wow, you're right. /etc is exactly three months older than /var. Amazing!!

  18. Re:Pronunciation? by ari_j · · Score: 4, Interesting

    No, but they did write millions of lines of poetry, much of it with strict forms. If you read a million lines of C with lots of good comments, you'd figure out the syntax before you finished.

  19. Definition by Anonymous Coward · · Score: 4, Funny

    "Eh... That's where them Config files goes"

  20. Re:etc stands for... by ari_j · · Score: 5, Insightful

    It's et cetera. If you look at the Unix hierarchy, you get:

    • /bin - binaries
    • /sbin - system binaries
    • /dev - devices
    • /home - user home directories
    • /lib - libraries
    • /mnt - temporary mount point
    • /root - root's home directory in case /home is on another filesystem
    • /var - variable data, such as databases, news, and mail
    • /tmp - temporary files
    • /usr - mostly there because it wouldn't fit on / :P
    • /etc - stuff that doesn't fit any of the above

    It's not about configuration files, either. /etc is home to both configuration and system-essential files, such as passwd and motd. I wouldn't call passwd "configuration," and I wouldn't call it "data." It's more "control." But that doesn't matter - the stuff in /etc just wouldn't fit anywhere else. All the backronyms in the world won't change that.

  21. origin of /usr by dmoen · · Score: 5, Informative

    Originally, /usr was an abbreviation of "user", it was where you put home directories. /usr/ken was Ken Thomson's home directory, and /usr/dmr was Dennis Richie's home directory.
    (These are the guys that invented Unix.)

    Then people started making home directories named after software packages. After a while, these names became standardized, and it became necessary to put home directories in some other location than /usr.

    Doug Moen

    --
    I have written a truly remarkable program which this sig is too small to contain.
  22. sounds ungeeky to me by DrSkwid · · Score: 2, Insightful

    Because the "editable" is redundant.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  23. Re:etc stands for... by russ1337 · · Score: 2, Funny

    >>>" Editable Text Configuration
    >That sounds like the most reasonable response to me, but do you have any references (so that we can correct wikipedia)?


    I think you're quite safe to use GP's Slasdot entry as the reference.

  24. Yeah, and /lib stands for ... by Bazman · · Score: 5, Funny

    'linked-in binaries'. Here's some of the other TLAs: /lib: linked-in binaries /etc: extended tool chest /usr: unix system routines /bin: basic instructions (native) /var: volatile access region /opt: one per terminal /tmp: this maybe purged /mnt: multiple network things /dev: dont ever violate /sys: she's your sister

  25. Actually, it comes from eta oin shrdlu by jonadab · · Score: 3, Funny

    You see, the etc hierarchy on Unix was the successor the etb hierarchy on Unics, which was named for the ETA configuration mechanism on Multics, which was named for ETA OIN SHRDLU. So, now you know.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  26. Geeky would be... by Mr.+Underbridge · · Score: 3, Funny

    ...Etc Text Configuration.

  27. Re:I've always assumed et-cetera by squiggleslash · · Score: 5, Informative

    It does. Originally it contained configuration files, start-up scripts, and system management tools needed at boot. As time has gone on, most of the second group are in subdirectories of /etc, and the latter group was moved to /sbin. Amiga users will probably note that the "S" directory had similar problems in AmigaOS 1.x, and was similarly broken up on AmigaOS 2.x.

    Historically, Unix had /sys for the kernel (short for SYStem, duh), /usr for user areas (yes, user areas), /lib for system libraries, /bin for top-level binaries, and /etc as the miscellaneous area. As time went on, substantial amounts of the operating system went into /usr, with the "bin" account set up to contain most of the tools people needed (which is why bin is also in /etc, and owns substantial amounts of the operating system, despite the apparent lack of a need to have that. It's legacy practices.)

    So some time in the mid to late eighties, much of this started to be moved around. Real home directories were moved out of /usr to a variety of directories, eventually standardising, Mac OS X aside, on /home. /usr itself started to be reorganized to look something like the top level, /etc was cleaned out (though much of this happened in the mid-nineties), and we have what we see today.

    Meanwhile, people trying to be "clever" have invented new names for all these areas. I've heard people claim that USR stands for "Unix System Resources", which opens the question of why all the system directories don't begin with "US"? We see the nonsense above about ETC meaning something other than, well, etc, and other silly explanations doubtless exist for BIN and VAR.

    The names mean what they sound like they mean. If it doesn't sound like a directory has a name that fits its current use, it's usually because it wasn't intended for that use originally.

    --
    You are not alone. This is not normal. None of this is normal.
  28. Re:/etc has not always been just configuration fil by funkfactorus · · Score: 2, Informative

    precisely. UnixWare did this as well.

    also idtune, the kernel param config util is in /etc/conf/bin

  29. Best description I've seen for /etc... by Chris+Tyler · · Score: 3, Insightful

    ...is that it is the "home directory for the system". To me, that captures the sense that it's where a particular system gets its configuration (/etc/inittab, /etc/ttys) and personality (/etc/motd, /etc/issue).

    Personally I'm in the "et setera" camp, and prefer the spoken form "et see".

  30. Re:Pronunciation? by Hes+Nikke · · Score: 2, Informative

    "Caesar" should sound more like "Kaiser" than "seize her".


    but Kaiser and Caesar mean two very different things in the food world. ask for it one way and you get bread, (or health insurance++) and the other gets you salad. huh?!
    --
    Don't call me back. Give me a call back. Bye. So yeah. But bye our, well, but alright we are on a shirt this chill.
  31. Re:I've always assumed et-cetera by e9th · · Score: 2, Informative

    Going back to SVR2, /etc, /lib, and /bin contained files that were needed in single-user mode, when /usr was unmounted (e.g., during boots & backups). It was not uncommon for multi-user mode only configuration files to reside somewhere in /usr (cron & UUCP come to mind).

  32. Re:Bah, by Hes+Nikke · · Score: 2, Informative

    isn't there a distro that does something like this already?

    i believe you are looking for this. i still haven't bothered to try it out though. i hate being a poor geek :(
    --
    Don't call me back. Give me a call back. Bye. So yeah. But bye our, well, but alright we are on a shirt this chill.
  33. Re:Let's be logical shall we by lpcustom · · Score: 3, Funny

    Sorry, I'm an early morning drunk. I meant "Essential Text Configurations"

    --
    Beer! It's what's for breakfast!
  34. Re:Pronunciation? by Haeleth · · Score: 4, Informative

    how do we know how anything was pronounced in the ancient world?

    We don't, but historical linguistics is like any other science - we can try to find the theories that best explain the available evidence, and refine those over time as new ideas are developed.

    Did the Romans produce a Latin dictionary with IPA transliterations for each word?
    No, but they did many other useful things, like transliterate words between languages and scripts; e.g. writing Latin names in the Greek alphabet and vice versa, or writing Celtic and Germanic names in the Latin alphabet. This doesn't tell us much about the actual sounds the alphabets represented, but it tells us about their relationships, and reduces the number of plausible solutions for ancient pronunciation.

    For a simple example, "Caesar" was regularly written in Greek as the equivalent of "kaisar", not as "saisar" or "saizar". The fact that different Greek letters were chosen to represent the different Latin letters implies that they represented different sounds. From considering all the other evidence, we find that the solution that is most consistent with the observed facts is the one that has Greek kappa and Latin C pronounced like an English K; therefore we conclude that "Caesar" was pronounced with a "k" sound, and it also seems reasonable to assume that "caetera" was consistent with that.
  35. Re:etc stands for... by ModernGeek · · Score: 4, Insightful

    The people who made up these file systems are not the pointy haired middle management type, they are geeks like me and you. They don't have acronyms for everything. /etc isn't going to stand for something like "extendable tool configuration", it is either going to stand for et cetera or nothing at all. People who want to sound cool by saying things like, "SQL stands for Structured Query Language" are just trying to "sound smart" in front of their "friends". That's my philosophy after looking at your explanation of the UNIX hierarchy.

    --
    Sig: I stole this sig.
  36. Re:Pronunciation? by Pharmboy · · Score: 4, Funny

    If you read a million lines of C with lots of good comments, you'd figure out the syntax before you finished.

    And if you read a millions lines of Perl, you would come to the conclusion that it has no syntax, then you would scratch your eyes out with a ball point pen. ;)

    --
    Tequila: It's not just for breakfast anymore!
  37. Re:Pronunciation? by greenguy · · Score: 2, Funny

    Thanks for the tip. All this time, I'd been pronouncing "C" as "one hundred."

    --
    What if I do the same thing, and I do get different results?
  38. Re:etc stands for... by Just+Some+Guy · · Score: 4, Insightful

    ...as opposed to the non-editable, non-text configuration files that Unix systems are famous for?

    These are the people who named the editor "ed". Don't overthink it.

    --
    Dewey, what part of this looks like authorities should be involved?
  39. Re:Pronunciation? by SatanicPuppy · · Score: 3, Insightful

    Lot of hardcore unix guys pronounce it "et-see" because you sound retarded saying, "It's in "et-cetera-slash-init-period-d" rather than "et-see init-dee". Same reason people transliterate Ess-Que-Ell into "Sequel"...It's quicker, and it sounds better.

    In my mind I always label people who insist on saying it exactly like it's written down as amatures, or anal retentive, though people who try to come up with ways of saying things like "url" make my teeth hurt.

    --
    ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
  40. Re:Eet-See by nbvb · · Score: 2, Interesting

    Oh, I'm sorry.

    the ping binary is in /usr/sbin on HPUX. There is a symlink to it in /etc, but that's not where the binary lives.

    Try again sometime.

    root@mrsparkle# ls -l /usr/sbin/ping
    -r-sr-xr-x 1 root bin 49152 Oct 18 15:54 /usr/sbin/ping
    root@mrsparkle# ls -l /etc/ping
    lr-sr-xr-t 1 root sys 14 Mar 14 2006 /etc/ping -> /usr/sbin/ping

    HPUX is actually much LESS retarded than most in a lot of ways. They actually moved the init startup scripts to /sbin/init.d (as well as /sbin/rc0.d->rc6.d) which makes sense. They're executables, for the super-user, which belong in /sbin.

    It makes more logical sense. It's just 'different' than most Unices.

    (and if you've ever used the Software Distributor, you know what real package management is like.... RPM, pkgadd and the ilk can go scratch. swinstall is where it's at! :)

  41. Re:Pronunciation? by saforrest · · Score: 2, Insightful

    'm replying to you because you were more polite than the sibling. Just because the word "cetera" is Latin does not mean that it is pronounced with an S sound. In fact, in Latin, it would never have been pronounced that way. In the days of Caesar, it would have been pronounced with a K sound and, as the Latin language evolved into ecclesiastical Latin, it would be pronounced with a CH sound.

    You're quite right of course, but do you actually use these pronunciations in casual conversation?

    Not that I have a lot of cause to randomly speak in Latin, but when I do, I usually say "venee, vedee, veechee", "et setera", "Sisero", rather than the corresponding correct versions with double-U's and hard C's. To do otherwise would usually prompt a blank look, followed by an forced explanation on my part which would probably come off as being rather pedantic.

  42. Re:I've always assumed et-cetera by Anonymous Coward · · Score: 2, Funny

    Historically, Unix had /sys for the kernel (short for SYStem, duh), /usr for user areas (yes, user areas)...


    Almost got it all right, but "usr" is "Unix System Resources." That goes way back.
  43. Backronym. by Ayanami+Rei · · Score: 4, Informative

    It may mean that now (and /usr = Unix System Resources, yeah right)

    But if you remember, programs like mount and user databases (when passwd files got too long to scan) were thrown into /etc. And configuration files also used to live in places like the root directory, or /var. /usr or even /lib, sometimes in ./conf/ subdirs.

    So it really did mean etcetra. And /usr really did mean 'users', as in, resources for users not administrators. Well at one point it also held home directories before that was split off into home.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:Backronym. by someonehasmyname · · Score: 3, Informative

      /usr/home is the default in freebsd. /home is a symbolic link to /usr/home.

      --
      Common sense is not so common.
    2. Re:Backronym. by arth1 · · Score: 3, Informative

      /usr/people is the historical home directory location. Last seen on IRIX.

    3. Re:Backronym. by Anonymous Coward · · Score: 5, Funny

      because when the system looks for the top-level directory, it would have to iterate through more directories to get a match. Duh. People think that just because 'cd /etc/init.d/' and 'cd /usr/local/include/emacs/emacs2.1/site-lisp/' take the same amount of time after you hit enter then they both must be a single processor instruction or something. In fact, the computer is doing millions of calculations more for the second command, while you sit there picking your nose. That's why I only put one file or subdirectory per directory, so it's simpler for the computer to find it. If a program installs differently, I rewrite it. Since my computer doesn't have to work as hard, it lasts longer. If I did things your way, I might as well pound my motherboard with a shovel. You fucking prick, you disgust me. If someone I knew were putting too many entries directly under root, I'd smash their face with my fist. Asshole.

    4. Re:Backronym. by Wdomburg · · Score: 2, Insightful

      There's an inode cache for a reason, you know.

    5. Re:Backronym. by Fulcrum+of+Evil · · Score: 2, Informative

      Since the root is a part of every path on the system, even a tiny slowdown here will affect everything else too, and it all adds up.

      Nah, the blocks for the root directory are most likely always in core, so as long as you don't stuff 10,000 files in root, you'll be fine. Also, a lot of filesystems have binary searching in the directory listing, so 10k files even would be ok.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
  44. From "The UNIX Programming Environment" by eGabriel · · Score: 5, Informative

    Brian W. Kernighan and Rob Pike, chapter 2.6 -- "The Directory Hierarchy":

        "/etc (et cetera) we have also seen before. It contains various administrative files such as the password file and some systems programs such as /etc/getty, which initializes a terminal connection for /bin/login. /etc/rc is a file of shell commands that is executed after the system is bootstrapped. /etc/group list the members of each group."

    I looked through Ritchie and Thompson's "The UNIX Time-Sharing System" and found no mention of /etc, so that's the best I could do from my own bookshelf.

  45. Re:Pronunciation? by mfnickster · · Score: 3, Interesting

    > And yet we still do not know how they pronounced them because they wrote down their language
    > they did not speak it into a dictaphone. Et cetera is pronounced as the English-speaking world has decided,
    > not Latin pronunciation guessers.

    A lot of that pronunciation knowledge comes from how Latin works were translated into Greek. They used kappa to represent 'C' in transliterated Latin words.

      - MFN

    --
    "Slow down, Cowboy! It has been 3 years, 7 months and 26 days since you last successfully posted a comment."
  46. Teh Internets Have Spoken by Trollusk · · Score: 2, Funny

    Google "extended tool chest" returns "about 13 results." If that's the meaning, it's a very well-kept secret meaning.

  47. Re:I've always assumed et-cetera by Mikachu · · Score: 5, Funny

    /bin for top-level binaries

    Wait wait wait... I always thought /bin was the recycling bin.

    ...

    Shit.
  48. Re:Let's be logical shall we by HeroreV · · Score: 2, Funny

    Let's be logical shall we
    The logical choice would be to rename it to something that makes more sense. If renaming would cause problems, that is already a problem that needs to fixed. I should be able to name it "Pretty Pink Ponies and Princesses" if I want and not have any problems arise from that.
  49. Re:Pronunciation? by bradkittenbrink · · Score: 2, Insightful

    And if you read a millions lines of Perl, you would come to the conclusion that it has no syntax, then you would scratch your eyes out with a ball point pen. ;)

    Who needs a million? That happens to me every time I read a single line of perl code.
  50. It sure ain't "text" anything. by argent · · Score: 3, Informative
    Now I haven't personally used anything earlier than 5th Edition, but I can't recall anyone seriously referring to /etc as anything but "etcetera" or "ee tee see", but just to be sure that it didn't start out as an acronym I checked the First Edition manual, and found section 7 full of programs in /etc, including good old /etc/init, as well as the Fortran compiler, the assembler, and the b compiler!

    Thus we come to the UNIX warm boot procedure: put 173700 into the switches, push load address and then push start. The alternate switch setting of 73700 that will load warm UNIX is used as a signal to bring up a single user system for special purposes. See /etc/init.

    Where we find...

    init is invoked inside UNIX as the last step in the boot procedure. It first carries out several housekeeping duties: it must change the modes of the tape files and the RK disk file to 17, because if the system crashed while a tap or rk command was in progress, these files would be inaccessible; it also truncates the file /tmp/utmp, which contains a list of UNIX users, again as a recovery measure in case of a crash. Directory usr is assigned via sys mount as resident on the RK disk. [...]

    An interesting tidbit is the list of files installed into the boot disk from tape on a virgin UNIX system:

    /etc/init /bin/chmod /bin/chown /bin/cp /bin/ln /bin/ls /bin/mkdir /bin/mv /bin/rm /bin/rmdir /bin/sh /bin/stat /bin/tap

    Thus this is the set of programs available after a cold boot. /etc/init and /bin/sh are mandatory. /bin/tap and /bin/mkdir are used to load up the file system. The rest of the programs are frosting. As soon as possible, an sdate should be done.

    BUGS: The files /bin/mount, /bin/sdate, and /bin/date should be included in the initialization list of maki.
  51. C:\?what by k1e0x · · Score: 2, Interesting

    et cetera makes sense as its not just configuration, you have init, password and "various" other stuff found there. etc.. etc..

    A better questions is.. why does Windows Vista (the most advanced OS on planet earth per Steve and Bill) use alphabet device names in 2007?

    I can hear computer novices saying..

    Novice: "Why is my primary drive C and not A?"
    Master: "A and B are reserved for floppy drives."
    Novice: "What's a floppy drive?"
    Master: ".. Something we don't use anymore."
    Novice: "Why are they still reserved then?"
    Master: "They just are."
    Novice: "Why isn't A the primary and C or Z reserved?"
    Master: "... just use Unix, explaining /etc is much less confusing ok."

    --
    Bringing liberty to the masses. - http://freetalklive.com/
  52. Re:I vote for et cetera by jrockway · · Score: 3, Funny

    I think you're misreading the output. /etc is from Feb 11 of this year, while /var is from May 11 of 2005. So /var is actually a few years older.

    --
    My other car is first.
  53. Re: other unix-related bacrynyms: by Anonymous Coward · · Score: 5, Funny

    emacs - Escape Meta Alt Control Shift.
    gdb - Get Down Baby.
    gcc - Give Communism (a) Chance.
    linux - Linus Is Not Usually Xeroflulogitic.
    lisp - Lisp Is (for) Symbolic Programming.
    java - Just Another Variant (of) Ada.
    perl - Perl Essentially Resembles Lisp.
    printf - People Rarely Insist (on) Naming This Function.
    sed - Slashdot (is) Easily Duped.
    top - Totally Ongoing Programs.
    vi - Very Irritating.

  54. Saying what you see... by fahrbot-bot · · Score: 2, Interesting
    Disagree if you must, but (coming from 25+ years as a *nix sys-admin) /etc simply stands for et-cetera and is pronounced as such (or spelled out as E-T-C). The phrase "et-see" is simply silly.

    As support, I ask how you pronounce "etc" when you read it in a book, magazine, etc...? How were you taught to pronounce it in your English class (apparently, so many years ago)?

    Ya, I thought so. :-)

    --
    It must have been something you assimilated. . . .
  55. Re:Pronunciation? by antibryce · · Score: 3, Funny

    I used a mechanical pencil. When scratching out your eyes there's more than one way to do it.

  56. Re:first post by Da_Weasel · · Score: 3, Insightful

    Actually there are no .'s or ..'s in the file system. These little gems only denote relative directories and are never actually part of the file system. I'll refrain from calling you a noob. Like the . it is almost always implied, and in 99% of the cases is just redundant.

    As for the /etc debate. I thought FSH settled all of this ridiculous bickering years ago? /etc is etcetera abbreviated. "Extended Tool Chest" is the most retarded thing i've ever heard. I don't know why people are still debating this. The people over at the FSH project put a lot of hard work in to their documents specifically to avoid stuff like this.

    http://www.pathname.com/fhs/

    --
    If you must!
  57. Re: other unix-related bacrynyms: by Anonymous Coward · · Score: 3, Funny

    lisp = lots (of) infuriating, superfluous parentheses

  58. I went to one of the sources. by sconeu · · Score: 4, Informative

    According to Dr. Peter H. Salus, it means et cetera.

    According to Dr. Salus, "Editable Text Configuration" is alien to the thinking of the creators.

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  59. Re:Pronunciation? by Dun+Malg · · Score: 4, Informative

    We know "Caesar" sounded like current-German "Kaiser", but this doesn't mean all Latin "C" sounds like "K". I think it depended on the next vowel, as it does in most current romance languages You think incorrectly. Romance languages and English palatized the Latin 'C' into a /ts/ sound 9 or 10 centuries after the fall of the Roman empire. The Latin 'C' made the hard /k/ sound, always. From the doc you linked:

    The Consonants:

    * c always hard:
    This is fairly well established. The Romans were highly literate and were quite capable of describing the sounds their letters made. It's not like trying to guess what color dinosaurs' skins were. We know the Latin 'C' made a /k/ sound.
    --
    If a job's not worth doing, it's not worth doing right.
  60. Re:etc stands for... by jd · · Score: 2, Interesting
    Always thought /usr was for, well, users, the stuff in /bin and /sbin mostly being used by programs prior to the mounting of the /usr partition (if there is one). /usr/local then refers to the local versions of user software.

    User programs that use the etc hierarchy always use /etc for the system etc files, but for a while it was fashionable to have /usr/etc store the "not any of the above" files specific to userspace applications. The same then applied to /usr/local/etc for local versions of user tools.

    Programs that needed their own tree, like X11, OpenLook, or whatever, created their own directory off /usr and built exactly the same layout for themselves on a local basis.

    This all makes perfect sense, requires no acronymitis, and explains a lot of how Unix got along for so long without a "standard base" specification. If anything, attempts to eliminate some of the directory hierarchies in modern Unix software is actually making it much harder to find anything and much riskier to install software, due to the increased risk of namespace collisions. As none of the older packages considered there to be any risk - they were off in their own isolated namespace - none of the older packages take any care over their naming conventions.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  61. Re:first post by g1zmo · · Score: 2, Interesting

    Actually there are no .'s or ..'s in the file system. These little gems only denote relative directories and are never actually part of the file system

    Honest question based on your statement...Why then do . and .. affect the reference counts on hard links?

    --
    I have found there are just two ways to go.
    It all comes down to livin' fast or dyin' slow.
    -REK, Jr.
  62. Re:Pronunciation? by rpcameron · · Score: 2, Interesting

    Actually, I almost always use "&c." as the shortened form of et cetera. That is because the ampersand (&) is actually a stylized glyph of the Latin word et 'and'. Also, in lists, "&c." is always preceded by a comma, even if you normally omit the "Oxford comma". (E.g.: one, two and three; one, two, three and others; but, one, two, three, &c..)

    There is no true advantage to this, but it is merely a stylistic choice. It's also about adhering to proper standards, such as italicizing non-English words in texts when they appear, such as trompe l'oeil 'trick/deceive the eye' (literally) or et cetera (&c.), in this example.

  63. Disingenious backronym by arth1 · · Score: 5, Informative
    Keep in mind that pathname.com is only a decade old, and the FHS even newer. /etc and /usr were in use a LONG time before that, and what FHS do are making recommendations for today, not an accurate representation on what went on before they were around.

    Yes, "editable text configuration" is a backronym. /etc is et cetera. All the system directories were kept to three letters, and all of the names are abbreviations -- none are acronyms.

    /bin = binary
    /lib = library
    /var = variable
    /usr = user
    /tmp = temporary
    /etc = et cetera
    /adm = administrative (now found in /var/adm)
    /log = logs (now found in /var/log)
    Later additions followed the same pattern:

    /net = network
    /mnt = mount
    In no circumstances were any of these acronyms, and making this up after the fact doesn't make it so. The general acronym fad, or I should say initialization fad, didn't appear until the 80's, and by then, the names were well established.

    And, as another user pointed out "editable text configurations" is a stupid name too, because if it's text, it's evidently editable. So why not just "text configurations" then? Also, in early Unix, everything was editable (remember, in Unix, everything is a file), so that's superfluous too. And, lastly, it was the repository for a lot of things that weren't configurations, including binaries.
    Again, this is a backronym, and not even a clever one.

    Regards,
    --
    *Art
    1. Re:Disingenious backronym by arth1 · · Score: 2, Informative

      No, /boot is rather new. Historically, the kernels have resided directly under /.

    2. Re:Disingenious backronym by archen · · Score: 3, Insightful

      And, as another user pointed out "editable text configurations" is a stupid name too, because if it's text, it's evidently editable

      but then there was the sendmail configuration...

    3. Re:Disingenious backronym by David_W · · Score: 2, Funny

      but then there was the sendmail configuration...

      Hey, you can edit sendmail.cf by hand. Granted, you are likely to be committed to a mental institution shortly thereafter, but you CAN.

  64. Re:Pronunciation? by miro+f · · Score: 2, Insightful

    isn't the official pronunciation of MS SQL server "Sequel"?

    I wonder what that says about Microsoft

    --
    being vague is almost as cool as doing that other thing...
  65. Re:first post by ctzan · · Score: 2, Informative

    Actually, "." and ".." are part of the filesystem (i.e. they're stored on disk, as directory entries) in the FAT filesystem.

    Assuming that all filesystems are implemented 100 % similar to the one(s) you know about _is_ noob and pretentious: the implementer of the FS is free to do things the way he sees fit as long as it provides reasonable semantics.

    In fact he doesn't have to do directories or files at all - he may implement everything as a big hash with different entries sharing the same blocks.

  66. Re:first post by ari_j · · Score: 2, Interesting

    That was his point. If '..' is a virtual directory and not an actual entry in the directory, then why does it affect the hardlink count of the directory it points to?

  67. Is "/." pronounced "slash dot" or "oblique dot"? by Derling+Whirvish · · Score: 2, Funny

    Is "/." pronounced "slash dot" or "oblique dot" or "diagonal dot"?

  68. /etc by rlp · · Score: 2, Informative

    When I was introduced to Unix at Bell Labs in 1980 (cbunix 2.3) - it was pronounced "etcetera" (as in "etcetera password file"). If it was turned into a acronym, that was after the fact.

    --
    [Insert pithy quote here]