Re: bin/60576: file(1) does not work on 68010 systems due to address space limits

"Christos Zoulas via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR bin/60576; it has been noted by GNATS.

From: Christos Zoulas <[email protected]>
To: [email protected]
Cc: [email protected],
 [email protected],
 [email protected]
Subject: Re: bin/60576: file(1) does not work on 68010 systems due to address
 space limits
Date: Mon, 17 Aug 2026 10:31:05 +0300

 Oops sorry, the directory in /usr/share/misc should be called magic not =
 magdir.
 
 christos
 
 > On Aug 16, 2026, at 5:10=E2=80=AFPM, Jason Thorpe via gnats =
 <[email protected]> wrote:
 >=20
 > The following reply was made to PR bin/60576; it has been noted by =
 GNATS.
 >=20
 > From: Jason Thorpe <[email protected]>
 > To: Christos Zoulas <[email protected]>
 > Cc: [email protected],
 > [email protected],
 > [email protected]
 > 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
 >=20
 >> On Aug 16, 2026, at 2:39=3DE2=3D80=3DAFAM, Christos Zoulas =3D
 > <[email protected]> wrote:
 >> =3D20
 >> Try:
 >> cp -r /usr/src/external/bsd/file/dist/magic/magdir /usr/share/misc
 >> rm /usr/share/misc/magic.mgc
 >> =3D20
 >> and see if that behaves better.
 >=20
 > 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#=3D20
 >=20
 > -- thorpej
 >=20
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.