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"