NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/60576: file(1) does not work on 68010 systems due to address space limits
Oops sorry, the directory in /usr/share/misc should be called magic not magdir.
christos
> On Aug 16, 2026, at 5:10 PM, Jason Thorpe via gnats <gnats-admin%netbsd.org@localhost> wrote:
>
> The following reply was made to PR bin/60576; it has been noted by GNATS.
>
> From: Jason Thorpe <thorpej%me.com@localhost>
> To: Christos Zoulas <christos%zoulas.com@localhost>
> Cc: gnats-bugs%netbsd.org@localhost,
> gnats-admin%netbsd.org@localhost,
> netbsd-bugs%netbsd.org@localhost
> Subject: Re: bin/60576: file(1) does not work on 68010 systems due to address
> space limits
> Date: Sun, 16 Aug 2026 07:09:31 -0700
>
>> On Aug 16, 2026, at 2:39=E2=80=AFAM, Christos Zoulas =
> <christos%zoulas.com@localhost> wrote:
>> =20
>> Try:
>> cp -r /usr/src/external/bsd/file/dist/magic/magdir /usr/share/misc
>> rm /usr/share/misc/magic.mgc
>> =20
>> and see if that behaves better.
>
> icarus# ls -ld /usr/share/misc/magdir/
> drwxr-xr-x 2 root wheel 6144 Aug 16 07:06 /usr/share/misc/magdir/
> icarus# ls -ld /usr/share/misc/magdir/elf
> -rw-r--r-- 1 root wheel 13780 Jun 13 07:04 /usr/share/misc/magdir/elf
> icarus# file /netbsd
> file: could not find any valid magic files! (No such file or directory)
> icarus#=20
>
> -- thorpej
>
Home |
Main Index |
Thread Index |
Old Index