[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kernel: How can we now the current time before / mounted ?
Hello,
In my RAIDFrame development, I need to start the engine thread for
auto-configured raids before the filesystem has been mounted.
Though initclocks has already been called, the kernel's current time
isn't available before the root filesystem mount.
As a side effect, my engine threads have an EPOCH start timeval.
1# ps ckux | grep raid
root 11 0.0 0.0 0 0 ?? DKL 1Jan70 0:00.68 raid1
root 12 0.0 0.0 0 0 ?? DKL 1Jan70 0:01.27 raid2
root 10 0.0 0.0 0 0 ?? DKL 1Jan70 0:01.22 raid0
How can I get the current timeval to update the threads ?
Should I wait and update those threads later in the boot process ?
T.