Rationale behind naming "dot d" (.d) directories

Jordan K. Hubbard jkh at apple.com
Wed Apr 22 21:20:04 PDT 2009


The history was pretty simple.  When we had a file called /etc/foo,  
which we later to split into a directory full of individual one-entry- 
per-file records rather than the previous "all records in a single  
file", we would rename /etc/foo to /etc/foo.d to denote the switch.   
Don't forget, /etc/rc used to be a single file...

- Jordan

On Apr 22, 2009, at 8:09 PM, Ryan Schmidt wrote:

> Does anyone know the history behind the ".d" naming convention on  
> some directories?
>
> For example, /etc/rc.d or ${prefix}/etc/bash_completion.d. I seem to  
> understand how these directories are used, but what does the ".d"  
> mean?
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list