[MPlayer-dev-eng] Re: [PATCH] Trivial, Linux DevFS/RTC compatibility
D Richard Felker III
dalias at aerifal.cx
Mon Sep 30 00:04:52 CEST 2002
On Sun, Sep 29, 2002 at 11:44:25AM -1000, Sidik Isani wrote:
> On Sun, Sep 29, 2002 at 10:24:41PM +0100, Robert Cardell wrote:
> >
> > (BTW, I wasn't subscribed before and I wasn't CC:'ed, which is why I can't
> > continue the thread properly. I'm subscribed now, no need to cc.)
>
> "Group reply" doesn't work as (I) expected on this list.
>
> Just a note about devfs. I've run it for years, but with these
> two lines in my /etc/devfsd.conf
>
> REGISTER .* MKOLDCOMPAT
> UNREGISTER .* RMOLDCOMPAT
>
> and /dev/rtc already exists (as a link, created by the devfsd for me).
>
> > I checked for them in that order for two reasons:
> >
> > a. /dev/rtc could be a symlink to some other RTC device. For example, on IA-64
> > there's one called /dev/efirtc. Perhaps the RTC device node should actually be
> > a configurable option.
> >
> > b. It's the order in which hwclock checks for them.
> >
> > So how about the following? It checks in the same order, but follows the
> > hwclock behaviour in that it only tries /dev/misc/rtc if /dev/rtc doesn't
> > exist. (NB: I've just edited the previous patch here, this one's untested.)
>
> Seems good enough. You cannot edit these kind of patches, by the way.
You can with emacs. :) It automagically fixes the numbers for you.
Rich
More information about the MPlayer-dev-eng
mailing list