From owner-freebsd-hackers Tue Dec 23 12:55:13 1997 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA07307 for hackers-outgoing; Tue, 23 Dec 1997 12:55:13 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA06802 for ; Tue, 23 Dec 1997 12:50:00 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id VAA03381 for freebsd-hackers@freebsd.org; Tue, 23 Dec 1997 21:49:52 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id VAA13940; Tue, 23 Dec 1997 21:38:05 +0100 (MET) Date: Tue, 23 Dec 1997 21:38:05 +0100 (MET) Message-Id: <199712232038.VAA13940@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <199712220844.TAA00494@word.smith.net.au> From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: Am I off my rocker? (/dev/tick device) X-Original-Newsgroups: local.freebsd.hackers To: freebsd-hackers@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk "J. Weatherbee - Senior Systems Architect" wrote: > 1) I realize that (/dev/tick). However, the "clock" is a device, and > in the UNIX spirit of things should also be a file. No? Not all of them. For example, network devices don't appear in the filesystem in BSD (although i think this is just inconsistent with the remainder of the OS). Anyway, i've got an implementation for a /dev/rtc in the pipeline, but it went somewhat on the backburner (the ISDN folks are bugging me to adopt the sppp driver for the new isdn4bsd code :). The idea behind /dev/rtc is that you could do synchronized reads from their, correlating to the CMOS RTC ticks. The implementation is 95 % ready, but needs some thoughts to solve a few tricky things on SMP machines. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)