On Fri, Apr 29, 2011 at 9:42 AM, Andrew Benton <b3n...@gmail.com> wrote:

> It seems that /dev/rtc0 is matching this rule in 50-udev-default.rules
> which is why it's making the symlink:
>
> SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
>
> The question is, why doesn't it match the 55-lfs.rules:
>
> SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock 
> start" KERNEL=="rtc", ACTION=="add", MODE="0644", 
> RUN+="/etc/rc.d/init.d/setclock start"
>
> Maybe it's the ACTION=="add" bit that doesn't match? Do you have your
> kernel configured to mount a tempfs on /dev before udev is run?
> CONFIG_DEVTMPFS=y
> CONFIG_DEVTMPFS_MOUNT=y
>
> If you delete from the rule ACTION=="add", does it work then?
>
> Or, try adding this to the end of the line in 50-udev-default.rules:
> , RUN+="/etc/rc.d/init.d/setclock start"

At what step are the rules installed? I could not locate 50*, 55*
above in /etc.  /etc/udev/rules.d has contains two files
(70-persistent*.rules).  Did I miss an instruction?
-- 
Thank you,
-Brian
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to