Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.unix.questions Subject: Re: Files for all devices?? Keywords: DEUNA VAX BSD Message-ID: <127434@uunet.UU.NET> Date: 4 Apr 91 01:53:48 GMT References: <1991Apr1.203925.19204@sci.ccny.cuny.edu> <11687@dog.ee.lbl.gov> Organization: UUNET Communications Services, Falls Church, VA Lines: 26 In article <11687@dog.ee.lbl.gov> torek@elf.ee.lbl.gov (Chris Torek) writes: ?In article <1991Apr1.203925.19204@sci.ccny.cuny.edu> ?jeffrey@sci.ccny.cuny.edu (Jeffrey L Bromberger) writes: ?>So, how come no [/dev] entry for the DEUNA ethernet card? I realize it's ?>configured as a pseudo-device ... ? ?Actually, it is configured as a regular `device': ? ? device de0 at uba? csr 0174510 vector deintr ? ?(`vector deintr' really belongs elsewhere, but this is a completely ?different topic). The argument against a /dev entry begins with ?`what would you do with it?' Why, open it for starters. Then you could ioctl instead of bind, listen, accept and connect, [gs]etsockopt. When NBS first went to networking, someone was having problems with one of their VAXen. I volunteered to help, and after I tried 'ifconfig ex0' (they had an il), I spent quite a bit of time looking for it in /dev. I then logged onto all the other (three) systems that were up and running and started looking for stuff there too. What a dirty trick! -- [rbj@uunet 1] stty sane unknown mode: sane