summaryrefslogtreecommitdiffstats
path: root/hwclock
Commit message (Collapse)AuthorAgeFilesLines
* remove hardcoded package name from some utilsKarel Zak2007-07-271-1/+1
| | | | | | | We have PACKAGE_STRING in config.h that includes package name and version. It's better to use this macro that hardcoded strings. Signed-off-by: Karel Zak <kzak@redhat.com>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: do not use wildcards in EXTRA_DISTStepan Kasal2007-05-161-1/+1
| | | | | | | Wildcards in EXTRA_DIST break "make dist" for vpath build. But plain directory names are ok. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* hwclock: make ggc happy and check return values from fgets, read and writeKarel Zak2007-03-212-13/+17
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: remove tailing white-spaces and clean up clock.hKarel Zak2007-03-216-198/+207
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: add support for audit systemKarel Zak2007-03-215-15/+68
| | | | | | | | | If you compile --with-audit the hwclock tool reports changes in sys/hw clock to audit system. The real long-term and final solution is probably add hooks for /dev/rtc to kernel, but it's not implemented yet. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: fix --systohc sets clock 0.5 seconds slowKarel Zak2007-03-201-2/+7
| | | | | | | | | | | | | | | | quote from rh150493: The kernel code, when setting the BIOS clock notes that the clock time ticks to the next second 0.5 seconds after adjusting it (see linux/arch/i386/kernel/time.c). hwclock --systohc sets the CMOS clock at the 1 second boundry and thus causes the clock to be wrong by 500ms each time it is reset. If the clock is set every shutdown then the clock will have a reboot-count related drift as well as the natural drift problems of the clock. Note that this also mucks up the drift calculations, of course. Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: add --rtc=<path> option and support for /dev/rtc0Karel Zak2007-03-194-25/+73
| | | | | | | | | | | | The patch to allow "hwclock --rtc /dev/rtc1" and so on, since "/dev/rtc" may not be there and "/dev/rtc0" may not be the right answer either. The "--rtc" is compatible with next Bryan Henderson's hwclock versions. Signed-off-by: David Brownell <david-b@pacbell.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix README filenames and add missing files to EXTRA_DISTsKarel Zak2007-02-081-0/+1
| | | | | | Also, the patch makes "make mrproper" more robust. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add missing filesKarel Zak2007-01-041-1/+2
| | | | | | | This patch add all missing headers, man pages and README files to automake stuff and "make dist-gzip" produces useful tarball now. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove generated autotools stuff from gitKarel Zak2007-01-031-541/+0Star
| | | | | | | The generated autotools stuff shouldn't be maintained by SCM. After check out from git use ./autogen.sh. For more details see README.devel. Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre6 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.13-pre4 tarball.Karel Zak2006-12-071-0/+2
|
* Imported from util-linux-2.13-pre3 tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.13-pre2 tarball.Karel Zak2006-12-071-81/+21Star
|
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-077-46/+614
|
* Imported from util-linux-2.12l tarball.Karel Zak2006-12-076-4/+13
|
* Imported from util-linux-2.12i tarball.Karel Zak2006-12-072-4/+18
|
* Imported from util-linux-2.12a tarball.Karel Zak2006-12-071-4/+28
|
* Imported from util-linux-2.12 tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.11y tarball.Karel Zak2006-12-071-5/+4Star
|
* Imported from util-linux-2.11x tarball.Karel Zak2006-12-072-21/+26
|
* Imported from util-linux-2.11u tarball.Karel Zak2006-12-071-1/+1
|
* Imported from util-linux-2.11t tarball.Karel Zak2006-12-0712-1310/+474Star
|
* Imported from util-linux-2.11r tarball.Karel Zak2006-12-071-9/+11
|
* Imported from util-linux-2.11o tarball.Karel Zak2006-12-072-2/+6
|
* Imported from util-linux-2.11m tarball.Karel Zak2006-12-071-58/+75
|
* Imported from util-linux-2.11f tarball.Karel Zak2006-12-074-160/+232
|
* Imported from util-linux-2.11b tarball.Karel Zak2006-12-075-37/+36Star
|
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-0715-0/+4758