summaryrefslogtreecommitdiffstats
path: root/usr.bin/file
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-04-04 02:41:01 +0000
committermpp <mpp@FreeBSD.org>1997-04-04 02:41:01 +0000
commit50fe179bc7b91bc29047284d0ee6bac4d5caea1f (patch)
tree0a1f5b327468a8dea123483d712ebe47a23a6c16 /usr.bin/file
parentc6b131679d3786f27f4ce2748c39ecc3bb8795e3 (diff)
downloadFreeBSD-src-50fe179bc7b91bc29047284d0ee6bac4d5caea1f.zip
FreeBSD-src-50fe179bc7b91bc29047284d0ee6bac4d5caea1f.tar.gz
The magic file now lives in /usr/share/misc.
Closes PR# 3187. Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/file.112
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/file/file.1 b/usr.bin/file/file.1
index 999d9e1..ba28b3f 100644
--- a/usr.bin/file/file.1
+++ b/usr.bin/file/file.1
@@ -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
OpenPOWER on IntegriCloud