Geom version/generation sysctl
Soeren Straarup
xride at x12.dk
Sat Jan 21 23:39:26 PST 2006
Hi
I'm looking for a way to have a version/generation sysctl value.
one way i could do this is:
sysct -b kern.geom.confxml > file_a
sleep for some time
sysct -b kern.geom.confxml > file_b
diff file_a file_b | wc -l
If the last line is zero then do nothing. And then repeat it.
What i'm looking for a cheap way to get around this, with a version/
generation number that i test on.
Would something like that be hard to implement?
vbr Søren
Soeren Straarup | aka OZ2DAK aka Xride
FreeBSD wannabe | FreeBSD since 2.2.6-R
Incorrect documentation is often worse than no documentation.
- Bertrand Meyer
More information about the freebsd-geom
mailing list