]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: remove hwclock --compare from TODO
authorBill Pemberton <wfp5p@virginia.edu>
Wed, 10 Oct 2012 20:54:00 +0000 (16:54 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 16 Oct 2012 13:29:53 +0000 (15:29 +0200)
commit 83765871ef0d6c554c46027577648b77c7351a78 added the --compare
option to hwclock so it can be removed from the TODO.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Documentation/TODO

index 1e128c165a84b4a3fff47e634ffdb95a1d3127b7..8324b8d4f8645261ac6ce8b78a675b4903e9f5ff 100644 (file)
@@ -23,27 +23,6 @@ dmesg
 
  - add --color to colorize err and panic messages
 
-hwclock
--------
-
- - (!!!) add "hwclock -c|--compare" to provide info about RTC frequency offset
-   like "adjtimex -c", shell version:
-
-       #!/bin/bash
-       date > /dev/null
-       hwdate=$(hwclock -r)
-       time1_sys=$(date +'%s.%N')
-       time1_hw=$(date -d "${hwdate% -*}" +'%s')
-
-       while sleep 10; do
-           hwdate=$(hwclock -r)
-           time2_sys=$(date +'%s.%N')
-           time2_hw=$(date -d "${hwdate% -*}" +'%s')
-           awk "END { x = (($time1_hw - $time1_sys) - ($time2_hw - $time2_sys)) /
-       ($time2_hw - $time1_hw); printf \"sysclock/RTC frequency offset: %.0f ppm (%.0f
-       ticks)\n\", x * 1e6, x * 1e4}" < /dev/null
-       done
-
 minix (fsck, mkfs)
 ------------------