From: Michael Raskin <a1d23ab4@mail.ru>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>,
linux-kernel@vger.kernel.org
Subject: Re: NTP time sync
Date: Mon, 27 Nov 2006 01:06:48 +0300 [thread overview]
Message-ID: <456A0FF8.2010208@mail.ru> (raw)
In-Reply-To: <00b301c711a3$07cf3530$020120ac@Jocke>
Joakim Tjernlund wrote:
>>> Is that the way it is supposed to be? How do I create a
>> static /dev/rtcN in my /dev
>>> directory if the major number isn't fixed?
>>> Maybe I am just missing something, feel free to correct me :)
>> udev ;)
>>
>> the concept of static numbers is quite old...
>
> Yes it is old, but is the old way unsupported now? I have an embedded target
> which is using the old static /dev directory, do I need to make
> it udev aware to use newer features like the rtc subsystem?
Really you do not have to make it udev aware, it is enough to make it
sysfs aware. You will be done by reading /sys/class/misc/rtc/dev on
initialization and replacing /dev/rtcN with device with the address
read. If you have configuration static enough, I guess you can even
create it once and for life of current setup with current kernel.
next prev parent reply other threads:[~2006-11-26 22:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-22 19:36 NTP time sync Alessandro Zummo
2006-11-22 19:51 ` Russell King
2006-11-22 20:26 ` Alessandro Zummo
2006-11-22 19:55 ` David Brownell
2006-11-22 20:23 ` Alessandro Zummo
2006-11-23 1:48 ` Gabriel Paubert
2006-11-23 10:54 ` Andi Kleen
2006-11-23 11:00 ` Benjamin Herrenschmidt
2006-11-25 23:22 ` David Brownell
2006-11-26 11:04 ` Joakim Tjernlund
2006-11-26 19:21 ` Alessandro Zummo
2006-11-26 21:37 ` Joakim Tjernlund
2006-11-26 22:06 ` Michael Raskin [this message]
2006-11-26 22:53 ` Alessandro Zummo
2006-11-27 1:21 ` [Bulk] " David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=456A0FF8.2010208@mail.ru \
--to=a1d23ab4@mail.ru \
--cc=joakim.tjernlund@transmode.se \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox