zfs, mc, mcview and files opening

Patrick M. Hausen hausen at punkt.de
Tue Nov 10 12:04:53 UTC 2015


Hi, all,


> Am 10.11.2015 um 12:54 schrieb Eugene M. Zheganin <emz at norma.perm.ru>:
> 
> Hi,
> 
> on 10.11.2015 15:05, Trond Endrestøl wrote:
>> I blame file(1), it's hopelessly slow. mcview uses file(1) to deduce
>> if it should just display the damn file or run the file through some
>> filter. Maybe an option in mc/mcview to disable the use of file(1) is
>> an acceptable compromise.
> Yeah, you seem to be right. /usr/bin/time -h file /var/log/maillog gives
> same time of 37-40 seconds to process the file.
> The main answer is now why file(1) is that slow ? I tested it on files
> of about same size and UFS - there's no lag at all.
> 
> Is it worth to report this in bugzilla ?

Could it be this problem you are experiencing?

http://freebsd.1045724.n5.nabble.com/file-1-command-very-slow-td6037309.html

Kind regards,
Patrick
--
punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe
Tel. 0721 9109 0 * Fax 0721 9109 100
info at punkt.de       http://www.punkt.de
Gf: Jürgen Egeling      AG Mannheim 108285

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20151110/b5caa0c3/attachment.bin>


More information about the freebsd-stable mailing list