Files for all devices??

Root Boy Jim rbj at uunet.UU.NET
Thu Apr 4 11:53:48 AEST 1991


In article <11687 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes:
?In article <1991Apr1.203925.19204 at sci.ccny.cuny.edu>
?jeffrey at 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 at uunet 1] stty sane
		unknown mode: sane



More information about the Comp.unix.questions mailing list