Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!cornell!uw-beaver!tektronix!orca!tekecs!arleneh From: arleneh@tekecs.TEK.COM (Arlene D. Hills) Newsgroups: comp.bugs.4bsd Subject: Re: Bug in /etc/arp Summary: Tektronix' implmentation works! Keywords: arp Un*x ours work Message-ID: <10299@tekecs.TEK.COM> Date: 24 Aug 88 00:42:33 GMT References: <583@sequent.cs.qmc.ac.uk> Reply-To: arleneh@tekecs.TEK.COM (Arlene D. Hills) Organization: Wilsonville, OR Lines: 35 William Roberts writes: Synopsis: /etc/arp dumps core Repeat-By: /etc/arp your_kernel /dev/nosuchmemfile Here's what it looks like on Tektronix' version of UN*X, known as UTek, (run on a 4317 [M68000 processor] , if anyone's curious). I tried this, and got a reasonable error message and *no* core dump. On our system it looks like: % /etc/arp /vmunix /dev/nosuchmem arp : usage : arp hostname arp -a [/vmunix] [/dev/kmem] arp -d hostname arp -s hostname ether_addr [temp] [pub] arp -f filename % /etc/arp -a /vmunix /dev/nosuchmem arp : cannot open /dev/nosuchmem : No such file or directory (sys2) So I looked at arp.c, and noticed that the UTek implementation uses our standard error reporting: mf = open(mem, 0); if(mf < 0) ERROR(P_ERR, NULL, O_ERR, "cannot open %s", mem); So, there *is* a version of UN*X out there on which /etc/arp doesn't have this error! -- Arlene D. Hills, Tektronix Platform Software Sustaining PO Box 1000, MS 61-215, Wilsonville, OR 97070 Graphics Workstation Division arleneh@menolly.GWD.TEK.COM (503) 685-2990