delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 3 Feb 2011 11:10:35 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: "file" command missing magic file (problem and solution) |
Message-ID: | <20110203101035.GW2675@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4D4A0FE3 DOT 40804 AT sayeh DOT ca> |
MIME-Version: | 1.0 |
In-Reply-To: | <4D4A0FE3.40804@sayeh.ca> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Feb 2 21:16, Andy Sun wrote: > Apparently, somewhere between version 4.xx and 5.xx, the magic file > which used to be /usr/share/file/magic (all my Unix life I knew > magic as an ASCII text file), has now become a directory > /usr/share/misc/magic/ with many small files for ease of > maintenance. It also happens that this directory "magic" is NOT part > of the binary distribution (you only get /usr/bin/file.exe, man page > and /usr/share/misc/magic.mgc). After I copied the entire magic > directory from the source distribution to /use/share/misc, "file -C" > works fine and recreated magic.mgc no problem. > > It would be nice if future binaries distribution of CYGWIN will > include the directory /usr/share/misc/magic and all the files within > it. Thanks for the heads up. I didn't notice this because `make install' neither installs a magic file nor a magic directory, only the compiled magic.mgc file. I just uploaded the new file-5.05-1 package which provides a magic file again, the same way as on Fedora. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |