Michael Schmitz dixit:
>> Actually, it should be /dev/rtc0 (according to my Debian system)
> hwclock attempts to open /dev/rtc which is symlinked to rtc0 if udev is used.
Oh, fun. Good to know, then. (I just use NTP, always…)
> With no helpers at all, the devices need to be static files present in /dev.
Yeah, but devtmpfs creates /dev/rtc0 just fine ;-)
> rc.local hacks are always possible as a last resort :-) Good one, though.
They are better than having to use udev, I guess.
Probably should place the symlink for /dev/rtc in there, too…
on the other hand, nope, not needed:
open("/dev/rtc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
SYS_333(0x8000520d, 0x20000, 0, 0x8000520d, 0) = -1072368512
SYS_333(0x2d, 0xc00182e0, 0x80000724, 0, 0) = -1072368512
SYS_333(0, 0xc00182e0, 0x800007d7, 0, 0) = -1072368512
SYS_333(0x2, 0x8000520d, 0, 0, 0) = -1072368512
SYS_333(0x2, 0, 0, 0x8000668e, 0) = -1072368512
open("/dev/rtc0", O_RDONLY|O_LARGEFILE) = 3
(What’s SYS_333, and why does strace not know it?)
bye,
//mirabilos
--
“Having a smoking section in a restaurant is like having
a peeing section in a swimming pool.”
-- Edward Burr
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html