Recently, I decided to create a directory for my patches and for some reason I was thinking about its name longer than I would usually do. How would I call it: patch or patches? Usually I don't care about that much and I guess I name directories 50-50 singular-plural. But now I think it would be nice to keep things consistent.
Well, I looked at hier(7) and how directories named in FreeBSD in general and I found that this is not very much consisten. For instance, we have:
- plural:
- singular:
- .d suffix:
I understand that there is no strict policy for that and some names are just used historically from ancient times. But now I'm curious: how do you guys name your directories? And do you care about it at all?
Well, I looked at hier(7) and how directories named in FreeBSD in general and I found that this is not very much consisten. For instance, we have:
- plural:
/etc/defaults, /etc/ssl/certs, /usr/ports, /var/games, /var/msgs, /var/backups, /boot/fonts, /usr/shared/examples.- singular:
/var/crash, /var/db, /var/log, /dev, /bin, /lib.- .d suffix:
/etc/rc.d, /etc/newsyslog.d, /etc/profile.d, /boot/loader.conf.d.I understand that there is no strict policy for that and some names are just used historically from ancient times. But now I'm curious: how do you guys name your directories? And do you care about it at all?