Marlier, Ian wrote:
Hi, all --
I'm trying to figure out if there's a way to get a setting made in the
sysfs tree (in this case,
/sys/devices/system/clocksource/clocksource0/current_clocksource) to
persist across reboot.
Under opensuse 10.3 using a xen kernel, the default value in this node
is "xen". However, there is a bug that causes the machine to lock up if
using that value, and so it needs to be changed to "jiffies", which is
accomplished by doing
echo "jiffies" >
/sys/devices/system/clocksource/clocksource0/current_clocksource
I can add this command to an init script (boot.local, for example). But
I'm wondering if there's any alternative, such as the sysctl.conf file
that controls the settings under /proc/sys
Any other method would simply be a round-about way of doing
EXACTLY what you are doing with your echo command.
As someone who has been doing Unix and Linux administration
for 15 years, my advice is this:
You have a solution that works, so stick with it.
Anyone know of one?
Thanks!
Ian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]