Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!daver!bungi.com!news Newsgroups: comp.sys.nsc.32k Subject: Re: Minix things Message-ID: <9009141952.AA11346@hugin.sco.COM> Date: 14 Sep 90 19:52:46 GMT Sender: news@daver.bungi.com Lines: 18 Approved: news@daver.bungi.com Regarding /dev/rtc, and what format it should take. Under SCO (xenix and unix), /dev/clock, when read, will return something like: 0914154990 (for Fri Sep 14 15:48:32 EDT 1990) (I just did a ~r /dev/clock). There is also a program called setclock, which take a parameter of the format MMddhh[yy]. Which can be gotten via 'date +%m%H%M[%y]'. (If the argument is not present, it essentially does a 'cat /dev/clock'.) Oh, yeah: setclock sets the clock, of course. Note, btw, that there is no seconds in the /dev/clock input or output (a deficiency, IMHO). Anyway, just some prior art. Sean.