Opened 5 months ago
Closed 5 months ago
#5712 closed enhancement (wontfix)
Add --datadir=/usr/share/file to file instructions.
Reported by: | Bruce Dubbs | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 12.4 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
I do not think it's needed for Chapter 6, but is needed for Chapter 8.
Change History (4)
comment:1 by , 5 months ago
comment:2 by , 5 months ago
It seems a little obscure to have /usr/share/misc with only one file in it. Without context, the name magic.mgc would not be recognized by most users as belonging to file.
How about --datadir=/usr/share/misc/file ?
comment:3 by , 5 months ago
I still don't think it's a valid reason to change the installation path. Users cannot easily see for e.g. which package contains /usr/share/et either. If we want all files to be easily recognized we'd change tons of packages then.
Also I checked Ubuntu and Gentoo, both still uses the default /usr/share/misc. Thus just "being the same as Arch" is not a good reason either.
If you must change it I'd prefer /usr/share/file
instead of /usr/share/misc/file
. But I don't think it should be ever changed.
comment:4 by , 5 months ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
OK, those are good reasons to leave things as they are. Closing.
But why?
/usr/share/misc is the FHS location for "Miscellaneous architecture-independent data" and to me magic.mgc is a miscellaneous architecture-independent data file.