Ticket #1984 (closed task: fixed)

Opened 1 year ago

Last modified 7 months ago

hwclock man page is incorrect

Reported by: Spinal Assigned to: lfs-book@linuxfromscratch.org
Priority: normal Milestone:
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

As we know /etc/adjtime is changed to /var/lib/hwclock/adjtime in the util-linux sources.

But there's still man page of hwclock remain with no changes.

So I suppose it's better to change the instruction

sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \
    hwclock/hwclock.c

to

sed -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' -i $(grep -rl '/etc/adjtime' .)

And I think it's a good idea to add this instruction to setclock bootscript:

hwclock --adjust

Just like this:

        start)
                boot_mesg "Setting system clock..."
                hwclock --adjust &>/dev/null
                hwclock --hctosys ${CLOCKPARAMS} &>/dev/null
                evaluate_retval
                ;;

Change History

04/16/07 13:38:32 changed by matthew@linuxfromscratch.org

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r8065.

10/05/07 07:53:16 changed by jhuntwork@linuxfromscratch.org

  • milestone deleted.

Milestone 6.3 deleted