The magic file now lives in /usr/share/misc.

Closes PR# 3187.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
This commit is contained in:
Mike Pritchard 1997-04-04 02:41:01 +00:00
parent 95a3cdde39
commit 9753286fae

View File

@ -1,5 +1,5 @@
.TH FILE 1 "Copyright but distributable"
.\" $Id: file.1,v 1.1.1.4 1997/03/18 17:58:59 mpp Exp $
.\" $Id: file.1,v 1.9 1997/03/18 19:37:17 mpp Exp $
.SH NAME
file \- determine file type
.SH SYNOPSIS
@ -42,7 +42,7 @@ meaning anything else (data is usually `binary' or non-printable).
Exceptions are well-known file formats (core files, tar archives)
that are known to contain binary data.
When modifying the file
.I /etc/magic
.I /usr/share/misc/magic
or the program itself,
.B "preserve these keywords" .
People depend on knowing that all the readable files in a directory
@ -78,7 +78,7 @@ The concept of `magic number' has been applied by extension to data files.
Any file with some invariant identifier at a small fixed
offset into the file can usually be described in this way.
The information in these files is read from the magic file
.I /etc/magic.
.I /usr/share/misc/magic.
.PP
If an argument appears to be an
.SM ASCII
@ -135,8 +135,10 @@ option causes symlinks to be followed, as the like-named option in
.BR ls (1).
(on systems that support symbolic links).
.SH FILES
.I /usr/share/misc/magic
\- default list of magic numbers (used to be
.I /etc/magic
\- default list of magic numbers
in previous versions of FreeBSD)
.SH ENVIRONMENT
The environment variable
.B MAGIC
@ -201,7 +203,7 @@ If your old
command uses a magic file,
keep the old magic file around for comparison purposes
(rename it to
.IR /etc/magic.orig ).
.IR /usr/share/misc/magic.orig ).
.SH HISTORY
There has been a
.B file