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?"

18 of 548 comments (clear)

  1. etc stands for... by MassEnergySpaceTime · · Score: 1, Interesting

    Editable Text Configuration

    --
    Respect the laws of physics, for the laws of physics have no respect for you.
    1. 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)
  2. it does not really matter but ... by eneville · · Score: 1, Interesting

    http://burks.brighton.ac.uk/burks/linux/rute/node1 7.htm quotes it as etcetera configuration files. others who are quoting it as an acronym may also double as alternative logical viewpoints, however, all unix configuration files are 99% of the time plain text files by default. that's just the way it is.

    reading too much into the naming can be dangerous. consider /usr, generally i see it as abbreviation for "user customised files", reason being that /bin is obviously going to be very similar on all unix-like systems. /usr/bin is generally used for customised install files, things that are created after install.

    but what about reading this name as "/user files", which then creates the awful /use/home layout, yuck!

  3. 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.
  4. 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

  5. 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.

  6. Re:Pronunciation? by Anonymous Coward · · Score: 1, 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.

    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.

    Put a little differently, we are much more likely to know what /etc original meant than how et cetera was originally intended pronounced.

  7. 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
  8. 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.

  9. 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! :)

  10. 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...
  11. 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."
  12. 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/
  13. 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. . . .
  14. 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."
  15. 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.
  16. 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.

  17. 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?