Re: bin/60576: file(1) does not work on 68010 systems due to address space limits
Christos Zoulas <[email protected]>
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> wrote: > > The following reply was made to PR bin/60576; it has been noted by GNATS. > > 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 > >> On Aug 16, 2026, at 2:39=E2=80=AFAM, Christos Zoulas = > <[email protected]> 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 >