Re: Re: Files in /usr/share/misc

2021-01-25 Thread mj-mailinglist
Thank you all for the input.

So, this directory is a little bit like the bottom drawer on my desk, where i 
put things, i don't know where to put else :)


the hier man page states:
misc/   miscellaneous system-wide ASCII text files

About half of the files are ASCII text, according to the file command.
The others are UTF-8, ISO-8859 or even binary. There seems a little bit of 
divergence from the "text" :)

--
Martin
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Files in /usr/share/misc

2021-01-24 Thread Philip Paeps via freebsd-current

On 2021-01-24 21:35:40 (+0800), mj-mailingl...@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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Files in /usr/share/misc

2021-01-24 Thread Enji Cooper

> On Jan 24, 2021, at 05:36, mj-mailingl...@gmx.de wrote:


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

Hi Martin,
Have you read “man hier”, by chance? This might elucidate things a bit.
Cheers,
-Enji
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Files in /usr/share/misc

2021-01-24 Thread mj-mailinglist
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  wheel43643 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  wheel23555 Jan 24 09:18 committers-ports.dot
-r--r--r--  1 root  wheel29343 Jan 24 09:18 committers-src.dot
-r--r--r--  1 root  wheel19304 Jan 24 09:18 definitions.units
-r--r--r--  1 root  wheel 1390 Jan 24 09:18 flowers
drwxr-xr-x  2 root  wheel2 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  wheel15481 Jan 24 09:18 iso3166
-r--r--r--  1 root  wheel12422 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  wheel10913 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  wheel37626 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
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"