Files in /usr/share/misc

From: <mj-mailinglist_at_gmx.de>
Date: Sun, 24 Jan 2021 14:35:40 +0100
While browsing the filesystem, i found the folder /usr/share/misc and now i am curious, what kind of files and why they were put there.

The list on "13.0-ALPHA2 stable/13-f76393a63" looks like this:
-r--r--r--  1 root  wheel     3170 Jan 24 09:18 ascii
-r--r--r--  1 root  wheel     5265 Jun 25  2020 bc.library
-r--r--r--  1 root  wheel      374 Jan 24 09:18 birthtoken
-r--r--r--  1 root  wheel    43643 Jan 24 09:18 bsd-family-tree
-r--r--r--  1 root  wheel     6633 Jan 24 09:18 committers-doc.dot
-r--r--r--  1 root  wheel    23555 Jan 24 09:18 committers-ports.dot
-r--r--r--  1 root  wheel    29343 Jan 24 09:18 committers-src.dot
-r--r--r--  1 root  wheel    19304 Jan 24 09:18 definitions.units
-r--r--r--  1 root  wheel     1390 Jan 24 09:18 flowers
drwxr-xr-x  2 root  wheel        2 Jun 25  2020 fonts
-r--r--r--  1 root  wheel     3267 Jan 24 09:18 gprof.callg
-r--r--r--  1 root  wheel     1064 Jan 24 09:18 gprof.flat
-r--r--r--  1 root  wheel       25 Jan 24 09:18 init.ee
-r--r--r--  1 root  wheel    15481 Jan 24 09:18 iso3166
-r--r--r--  1 root  wheel    12422 Jan 24 09:18 iso639
-r--r--r--  1 root  wheel     2391 Jan 24 09:18 latin1
-r--r--r--  1 root  wheel  1177518 Jan 24 09:18 magic
-r--r--r--  1 root  wheel  6653320 Jan 24 09:18 magic.mgc
-r--r--r--  1 root  wheel      941 Jan 24 09:18 mail.help
-r--r--r--  1 root  wheel     1284 Jan 24 09:18 mail.tildehelp
-r--r--r--  1 root  wheel     1133 Jan 24 09:18 mdoc.template
-r--r--r--  1 root  wheel      582 Jan 24 09:18 operator
-r--r--r--  1 root  wheel     4165 Jan 24 09:18 organization.dot
-r--r--r--  1 root  wheel  1246724 Jan 24 09:18 pci_vendors
-r--r--r--  1 root  wheel    10913 Jan 24 09:18 scsi_modes
-r--r--r--  1 root  wheel   212427 Jan 24 09:18 termcap
-r--r--r--  1 root  wheel  1343488 Jan 24 09:18 termcap.db
-r--r--r--  1 root  wheel    37626 Jan 24 09:18 usb_hid_usages
-r--r--r--  1 root  wheel   206318 Jan 24 09:18 usbdevs
-r--r--r--  1 root  wheel     7081 Jan 24 09:18 windrv_stub.c

There are
- some more, some less technical "lookup" files, like:
ascii, birthtoken, flowers, iso3166, iso639, latin1,...

- 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

- some configuration an scripting examples, like:
init.ee, gprof.callg, gprof.flat,...
IMHO better placed in .../examples

- 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

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

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

What is the history behind /usr/share/misc?

--
Martin
Received on Sun Jan 24 2021 - 12:35:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC