Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Who sets the symlink /dev/rtc => /dev/rtc0 ?
Date: Sun, 25 Aug 2013 20:51:39
Message-Id: 20130825205117.GB892@ca.inter.net
In Reply to: Re: [gentoo-user] Who sets the symlink /dev/rtc => /dev/rtc0 ? by Pavel Volkov
1 130825 Pavel Volkov suggested:
2 > On Sunday 25 August 2013 20:26:32 meino.cramer@×××.de asked:
3 >> So...which ghost in my system dares to set the symlink /dev/rtc
4 >> to point to /dev/rtc0 instead of /dev/rtc1 ???
5 > I bet it's /usr/lib64/udev/rules.d/50-udev-default.rules
6
7 I have /usr/udev/rules.d/50-udev-default.rules (on a 64-bit system),
8 which contains the lines :
9
10 # select "system RTC" or just use the first one
11 SUBSYSTEM=="rtc", ATTR{hctosys}=="1", SYMLINK+="rtc"
12 SUBSYSTEM=="rtc", KERNEL=="rtc0", SYMLINK+="rtc", OPTIONS+="link_priority=-100"
13
14 However, in /dev I have :
15
16 crw------- 1 root root 10, 135 Aug 25 07:39 /dev/rtc
17
18 ie it's not a symlink. I'm using udev-204 .
19
20 HTH
21
22 --
23 ========================,,============================================
24 SUPPORT ___________//___, Philip Webb
25 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
26 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies