On Wed, 2006-05-17 at 14:12 +0200, Geert Uytterhoeven wrote: > > Hmm, so far s390 has lived quite happily without /dev/rtc. What is the > > added benefit to have an emulation of a hardware interface that doesn't > > exists for the architecture ? > > hwclock(8) can query the hardware clock? > > Originally hwclock used direct I/O accesses, which of course work on PC > hardware only, but on `newer' systems it uses /dev/rtc.
What is hwclock? ;-) That utility is not compiled / used on s390 distributions. We could add genrtc, readd hwclock to the util-linux compile for s390 and just call it in the init scripts. Some of the current scripts have something like if [ `uname -s` == "Linux" -a `uname -m` != "s390" ] then ... around the calls to hwclock. And it would be easy to do, just remove the !S390 from the GEN_RTC option in my cleanup patch. -- blue skies, Martin. Martin Schwidefsky Linux for zSeries Development & Services IBM Deutschland Entwicklung GmbH "Reality continues to ruin my life." - Calvin. - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
