Re: [PATCH 28/48] Use bash-style conditionals when setting up the hardware clock.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Aug 19, 2010 at 02:34:50PM +1000, Allan McRae wrote:
> On 19/08/10 14:23, Victor Lowther wrote:
> >I am missing the difference. Diff please?
> 
> Yours:
> >>>+ /bin/mknod /dev/rtc c $major $minor
> 
> His:
> >>/bin/mknod /dev/${dev##*/} c $major $minor
> 
> Yours creates /dev/rtc and his creates /dev/rtc and /dev/rtc0
> 
> Allan
> 
> 

Couldn't we avoid all this by just flipping a switch in the kernel?

CONFIG_RTC_DRV_CMOS=y

If it's compiled into the kernel, udev picks it up and creates the /dev
nodes for us.

d


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux