Re: How to read cmos clock - what is gettimeofday reading?

2010-08-20 Thread phil hefferan
On Fri, Aug 20, 2010 at 5:17 AM, b. f. wrote: > >To further confuse matters there appears to be a common misconception on > the web > >that the cmos time is automatically synced to system time on FreeBSD. This > is > >incorrect: see msg03414 on freebsd-hardware at freebsd.org. > > The situation h

Re: Reading rtc on FreeBSD

2010-08-19 Thread phil hefferan
On 2010-Aug-19 13:09:46 +0300, phil hefferan wrote: > >I've been looking around for how to read the cmos/rtc on FreeBSD. There is > >no hwclock utility in FreeBSD that I can read sources for to see how it is > >done. > > The RTC is only accessed within the kernel (/sys

Re: Reading rtc on FreeBSD

2010-08-19 Thread phil hefferan
My apologies for the multiple posts on this - please ignore the earlier similar post by my alter ego from a yahoo account. What happened: I tried to subscribe from a yahoo account and nothing happened. Meanwhile I posted to the list from the yahoo account. Got a 'waiting moderator approval messa

Reading rtc on FreeBSD

2010-08-19 Thread phil hefferan
I have C code for Linux that, among other things, caches the difference between the rtc and system time, so that the program can detect if the system time has changed more than a threshold between runs. I want to port this code to FreeBSD/Mac. I'm trying to clarify the relationship between rtc a

How to read cmos clock - what is gettimeofday reading?

2010-08-18 Thread Phil Grundig
I have C code for Linux that, among other things, caches the difference between the rtc and system time. I want to port this code to FreeBSD/Mac. Linux has the utility hwclock which reads /dev/rtc and anyway getting the cmos clock time directly from this interface can be done in a few lines of c

Re: How to read cmos clock - what is gettimeofday reading?

2010-08-18 Thread Phil Grundig
"This is incorrect: see msg03414 on freebsd-hardw...@freebsd.org." Meaning: http://www.mail-archive.com/freebsd-hardw...@freebsd.org/msg03414.html ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: IPFW NATD = NAT POOL

2005-09-22 Thread Phil Regnauld
Nate Nielsen (nielsen-list) writes: > No. I think each instance of natd (at least last time I looked at it) > could only use one IP address as it's public address. One could use probability rules to divert to different natds with different NAT addresses, and use choparp / aliases t

Help debugging mysterious freezing (5.4)

2005-07-22 Thread Phil
If this is a hardware problem (which it looks to be), I'd at least like to know where. Thanks, -Phil ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Code review / Monitoring battery

2004-07-13 Thread Phil Schulz
s so slow. Also I'd like to know if anyone knows something similar to this little tool. I found wmbattery from ports, but it doesn't shut down the computer. If there isn't such a program, I'd be happy to make this little thing a port (provided that there is need for it). Th

The current status of FreeBSD

2002-08-27 Thread Phil Boumerola
Gentlemen, FreeBSD is a sinking ship for the true hackers among us. Perhaps due to bad politics, perhaps due to envy on Linux' success and hype, FreeBSD had no resemblance of what it once was. It's now 'yet another Linux distro'/'commercial unix wannabe'. In the wise words of Chris G Demetriou