Files in /usr/share/misc

Philip Paeps philip at freebsd.org
Mon Jan 25 07:11:12 UTC 2021


On 2021-01-24 21:35:40 (+0800), mj-mailinglist at gmx.de wrote:
> - some FreeBSD project related files, like:
> bsd-family-tree.dot, committers-*.dot, organization.dot
> These would better be part of the documentation.
> BTW, on 12.x they are out of date: 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251701

I think we've never bothered merging those to older stable branches 
because there's not really any point.  It might be worth doing so just 
before a release or something but there's very little benefit.

> - development(?) related files, like:
> pci_vendors, scsi_modes, usb_hid_usages, usbdevs, windrv_stub.c
> I don't know if these files are used during build-/runtime

E.g. pci_vendors is used by pciconf(8) and windrv_stub.c is used by 
ndiscvt(8).  I'm sure the others are used by similar utilities that 
escape my memory.

> - some files which are used during (build-?/)runtime:
> magic, magic.mgc, termcap, termcap.db Shouldn't these be in a more 
> specific place? They are pretty static, so the "var" part in /var/db 
> does not fit,
> but services.db is located there, too.

The magic* files are used by file(1).  See termcap(5) for the others.

> - is the fonts folder in base, or did some port create it? I'm not 
> sure.

Hah.  I like the comment in hier(7) about this directory. :-)

Philip

-- 
Philip Paeps
Senior Reality Engineer
Alternative Enterprises


More information about the freebsd-questions mailing list