| View previous topic :: View next topic |
| Author |
Message |
gentleman Tux's lil' helper


Joined: 02 Dec 2005 Posts: 138 Location: Germany, Paderborn
|
Posted: Sun Dec 11, 2005 7:54 am Post subject: [solved] The meaning of .d in init.d conf.d |
|
|
Hey, can anyone out there tell me about the meaning of the .d in the names of those directories?
Last edited by gentleman on Sun Dec 11, 2005 9:09 am; edited 1 time in total |
|
| Back to top |
|
 |
s3ntinel n00b

Joined: 04 Apr 2005 Posts: 64
|
Posted: Sun Dec 11, 2005 8:13 am Post subject: |
|
|
| where the daemons are stored and controlled and configured? |
|
| Back to top |
|
 |
ecatmur Veteran


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
cokehabit Veteran


Joined: 22 Apr 2004 Posts: 3202 Location: 'Til we have built Jerusalem In England's green and pleasant land
|
Posted: Sun Dec 11, 2005 8:23 am Post subject: |
|
|
it signifies that it will be a background process _________________ pkgcore, the newest and best portage replacement |
|
| Back to top |
|
 |
hensan l33t


Joined: 26 Jun 2003 Posts: 866 Location: Sweden
|
Posted: Sun Dec 11, 2005 8:33 am Post subject: |
|
|
| Could it be that the .d means "directory" as opposed to a regular file, so that you can easily see the difference even if your terminal doesn't support colors. |
|
| Back to top |
|
 |
marcion Apprentice


Joined: 14 Mar 2005 Posts: 158 Location: England
|
Posted: Sun Dec 11, 2005 8:33 am Post subject: Re: The meaning of .d in init.d conf.d |
|
|
| gentleman wrote: | | Hey, can anyone out there tell me about the meaning of the .d in the names of those directories? |
I always assumed that d stood for daemon, it would be interesting to know who chose it originally. |
|
| Back to top |
|
 |
plasmagunman l33t


Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Sun Dec 11, 2005 9:00 am Post subject: |
|
|
i vote for "directory". _________________ please, feel free to correct my english. - por favor, corrige mi español. |
|
| Back to top |
|
 |
trae n00b


Joined: 22 Apr 2005 Posts: 51 Location: Finland
|
Posted: Sun Dec 11, 2005 9:07 am Post subject: |
|
|
| Yes, it means "daemon". Daemon is a program, which runs in the background, and takes care of some particular task. The term is coined from Maxwell's demon. |
|
| Back to top |
|
 |
gentleman Tux's lil' helper


Joined: 02 Dec 2005 Posts: 138 Location: Germany, Paderborn
|
Posted: Sun Dec 11, 2005 9:09 am Post subject: |
|
|
| Very nice. First I assumed "dir", too. But then I found even files with an .d-ending. Thanks for that. |
|
| Back to top |
|
 |
Taladar Guru

Joined: 09 Oct 2004 Posts: 456 Location: Bielefeld, Germany
|
Posted: Sun Dec 11, 2005 9:28 am Post subject: |
|
|
| I believe the .d (note the dot) stands for directory. The d for daemon is more often found without a dot (httpd.conf, ...) |
|
| Back to top |
|
 |
ecatmur Veteran


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Sun Dec 11, 2005 9:34 am Post subject: |
|
|
| gentleman wrote: | | Very nice. First I assumed "dir", too. But then I found even files with an .d-ending. Thanks for that. | The only files ending .d on my system are some metapost (LaTeX) files (oh, and some in Portage; but that doesn't count as they don't get installed under those names). _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS? |
|
| Back to top |
|
 |
makomk n00b

Joined: 15 Jul 2005 Posts: 45 Location: Not all there
|
Posted: Sun Dec 11, 2005 9:39 am Post subject: |
|
|
| I'm pretty sure the .d stands for directory - there are some which have nothing to do with daemons, modules.d for example. I'm not sure of the significance of the .d, though. (As someone else said, a d suffix without a dot does generally stand for daemon, though.) |
|
| Back to top |
|
 |
gentleman Tux's lil' helper


Joined: 02 Dec 2005 Posts: 138 Location: Germany, Paderborn
|
Posted: Sun Dec 11, 2005 9:42 am Post subject: |
|
|
Hm, seems as were the solution not as easy as thought   |
|
| Back to top |
|
 |
plasmagunman l33t


Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Sun Dec 11, 2005 10:57 am Post subject: |
|
|
| gentleman wrote: | | First I assumed "dir", too. But then I found even files with an .d-ending. |
for example? on my system | Code: | | find /etc/ -name "*.d" -type f | doesn't find anything, only "-type d" does. _________________ please, feel free to correct my english. - por favor, corrige mi español. |
|
| Back to top |
|
 |
cokehabit Veteran


Joined: 22 Apr 2004 Posts: 3202 Location: 'Til we have built Jerusalem In England's green and pleasant land
|
Posted: Sun Dec 11, 2005 9:19 pm Post subject: |
|
|
yes everyone, i am right _________________ pkgcore, the newest and best portage replacement |
|
| Back to top |
|
 |
ecatmur Veteran


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
Enlight Veteran


Joined: 28 Oct 2004 Posts: 3479 Location: Alsace (France)
|
Posted: Mon Dec 12, 2005 3:35 am Post subject: |
|
|
| makomk wrote: | | I'm pretty sure the .d stands for directory - there are some which have nothing to do with daemons, modules.d for example. I'm not sure of the significance of the .d, though. (As someone else said, a d suffix without a dot does generally stand for daemon, though.) |
exactly what I thought. _________________ le "lol" est aux boulets ce que le ";" est au programmeurs |
|
| Back to top |
|
 |
Q-collective Veteran


Joined: 22 Mar 2004 Posts: 1915 Location: You really wanna know?
|
Posted: Mon Dec 12, 2005 5:00 am Post subject: |
|
|
So smarties, if .d stands for directory, why are there files ending with it, or why isn't every directory ending with it?
| s3ntinel wrote: | | where the daemons are stored and controlled and configured? |
+1 Insightful _________________ Member of the Dutch section of the Committee for a Workers International |
|
| Back to top |
|
 |
plasmagunman l33t


Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Mon Dec 12, 2005 6:02 am Post subject: |
|
|
| Q-collective wrote: | | So smarties, if .d stands for directory, why are there files ending with it, or why isn't every directory ending with it? |
can anyone name an example for files ending with ".d", at least i can't find none. latex-files don't count, since the extension ".d" can represent a special not-so-famous filetype of a special (sub)project. we are talking about "The meaning of .d in init.d conf.d", as i understand, the ".d"s in /etc/.
and we don't need to denote all directories with ".d", since most of them are unambiguous. i think in the first years of unix programs like init, cron,... had a conf-file and a conf-directory, perhaps the file named /etc/program.conf and the directory named /etc/program.d/. so, if there was possibility of confusion they put the ".d". and please, don't ask why they don't get rid of the ".d" once the possibility of confusion is gone. you will never find 100% logic on a 30 year old system.
| Quote: |
| s3ntinel wrote: | | where the daemons are stored and controlled and configured? |
+1 Insightful |
if ".d" stands for daemon, what are the daemons controlled and configured by the following directories?
| Code: | /etc/X11/wmsession.d
/etc/env.d
/etc/gnome/panel-config/panel.d
/etc/bash_completion.d
/etc/modules.d
/etc/profile.d
/etc/modules.autoload.d |
_________________ please, feel free to correct my english. - por favor, corrige mi español. |
|
| Back to top |
|
 |
plasmagunman l33t


Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Mon Dec 12, 2005 6:09 am Post subject: /etc/*.d : daemon or directory? |
|
|
that's just the poll for the discussion over there. _________________ please, feel free to correct my english. - por favor, corrige mi español. |
|
| Back to top |
|
 |
ecatmur Veteran


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
Posted: Mon Dec 12, 2005 6:11 am Post subject: |
|
|
| Quote: | | So smarties, if .d stands for directory, why are there files ending with it, or why isn't every directory ending with it? |
There aren't. (Well, OK, some LaTeX metapost stuff, and some files in /usr/portage that are installed into .d directories.)
.d directories are used when there is or could be a file with the same or similar name, to prevent confusion. e.g. /etc/bash_completion{,.d}, /etc/profile{,.d}, /etc/X11/xinit/xinitrc{,.d}.
edit: plasmagunman: exactly, great explanation. Of course the history explains a lot... _________________ No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Last edited by ecatmur on Mon Dec 12, 2005 6:23 am; edited 2 times in total |
|
| Back to top |
|
 |
plasmagunman l33t


Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Mon Dec 12, 2005 6:12 am Post subject: |
|
|
sorry, i could not resist: i just opened a poll . _________________ please, feel free to correct my english. - por favor, corrige mi español. |
|
| Back to top |
|
 |
ecatmur Veteran


Joined: 20 Oct 2003 Posts: 3595 Location: Edinburgh
|
|
| Back to top |
|
 |
Q-collective Veteran


Joined: 22 Mar 2004 Posts: 1915 Location: You really wanna know?
|
|
| Back to top |
|
 |
gentleman Tux's lil' helper


Joined: 02 Dec 2005 Posts: 138 Location: Germany, Paderborn
|
Posted: Mon Dec 12, 2005 10:50 am Post subject: |
|
|
That's so mad and I thought there would be a fast answer . Well though I indeed have files on my system with .d I just think the arguments for .d as a directory-indicator are better. You convinced me and I voted for directory  |
|
| Back to top |
|
 |
|