Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!hp4nl!svin02!eba!wjw From: wjw@eba.eb.ele.tue.nl (Willem Jan Withagen) Newsgroups: comp.sys.apollo Subject: What is exactely /dev/console? Keywords: /dev/console, Message-ID: <1079@eba.eb.ele.tue.nl> Date: 3 Feb 91 22:28:57 GMT References: <1991Feb1.193832.8060@alchemy.chem.utoronto.ca> Sender: news@eb.ele.tue.nl (The News system) Organization: Eindhoven University of Technology, The Netherlands Lines: 23 In article <1991Feb1.193832.8060@alchemy.chem.utoronto.ca> you write: >I have just found that the /dev directory has been somewhat mangled >after installing SR10.3.p. The install effectively does a 'mkdev /dev >all' which should rebuild the standard devices; however, it deletes >the existing devices, as it should, but then doesn't make new ones for: > A general question on the /dev/console device. When I was rebuilding 'pcnfsd' it got bitten by the fact that it could not open /dev/console for writting. (Probably you can write /dev/console on a sun. and is it the display) So I patched the code to write to a user configurable file. The reason now for the question is: All /etc/rc.* files dump code to /dev/console upon boot. So it is writable! But when, how and by whom? Thanx, Willem Jan Withagen. Eindhoven University of Technology DomainName: wjw@eb.ele.tue.nl Digital Systems Group, Room EH 10.10 P.O. 513 Tel: +31-40-473401 5600 MB Eindhoven The Netherlands