NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/60576: file(1) does not work on 68010 systems due to address space limits
>Number: 60576
>Category: bin
>Synopsis: file(1) does not work on 68010 systems due to address space limits
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 12 21:55:00 +0000 2026
>Originator: Jason Thorpe
>Release: 11.99.7
>Organization:
Retrogrouches'R'Us
>Environment:
NetBSD icarus 11.99.7 NetBSD 11.99.7 (PHAETHON1) #154: Fri Aug 7 14:45:49 PDT 2026 thorpej@dhcp-105.ktnet:/Users/thorpej/NetBSD/current/src/sys/arch/hb68k/compile/PHAETHON1 hb68k
>Description:
file(1) does not work on 68010 systems because cannt mmap the compiled magic file:
icarus# file /netbsd
file: cannot map `/usr/share/misc/magic.mgc' (Cannot allocate memory) (No such file or directory)
icarus# ls -lh /usr/share/misc/magic.mgc
-r--r--r-- 1 root wheel 10M Jul 6 22:29 /usr/share/misc/magic.mgc
icarus#
The total address space limit on 68010, of course, is 16MB, and mmap'ing a 10MB magic file just won't fit along with everything else.
>How-To-Repeat:
See above.
>Fix:
For constrained systems, split the single magic file into separate files? Christos aluded to this being a possibility.
Home |
Main Index |
Thread Index |
Old Index