~ubuntu-branches/ubuntu/precise/util-linux/precise-proposed

« back to all changes in this revision

Viewing changes to sys-utils/rtcwake.8

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-06-20 22:31:50 UTC
  • mfrom: (1.6.3 upstream) (4.5.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110620223150-lz8wrv0946ihcz3z
Tags: 2.19.1-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - Build for multiarch.
  - Add pre-depends on multiarch-support.
  - configure.ac: don't try to be clever about extracting a path name from
    $libdir to append to /usr in a way that's not overridable; instead,
    reuse the built-in configurable libexecdir.
  - Fix up the .pc.in files to know about libexecdir, so our substitutions
    don't leave us with unusable pkg-config files.
  - Install custom blkid.conf to use /dev/.blkid.tab since we don't
    expect device names to survive a reboot
  - Mention mountall(8) in fstab(5) manpages, along with its special
    options.
  - Since upstart is required in Ubuntu, the hwclock.sh init script is not
    called on startup and the hwclockfirst.sh init script is removed.
  - Drop depends on initscripts for the above.
  - Replace hwclock udev rule with an Upstart job.
  - For the case where mount is called with a directory to mount, look
    that directory up in mountall's /lib/init/fstab if we couldn't find
    it mentioned anywhere else.  This means "mount /proc", "mount /sys",
    etc. work.
  - mount.8 points to the cifs-utils package, not the obsolete smbfs one. 
* Dropped changes:
  - mount.preinst: lsb_release has been fixed in lucid and above to be
    usable without configuration, so we don't have to diverge from Debian
    here anymore.
* Changes merged upstream:
  - sfdisk support for '+' with '-N'
  - mount/umount.c: fix a segfault on umount with empty mtab entry
  - Fix arbitrary unmount with fuse security issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
rtcwake - enter a system sleep state until specified wakeup time
22
22
.SH SYNOPSIS
23
23
.B rtcwake
24
 
.RB [ \-hvVlua ]
 
24
.RB [ \-hvVluan ]
25
25
.RB [ \-d
26
26
.IR device ]
27
27
.RB [ \-m
52
52
\fB-V\fP | \fB--version\fP
53
53
Displays version information and exists.
54
54
.TP
 
55
\fB-n\fP | \fB--dry-run\fP
 
56
This option does everything but actually setup alarm, suspend system or wait 
 
57
for the alarm.
 
58
.TP
55
59
\fB-a\fP | \fB--auto\fP
56
60
Reads the clock mode (whether the hardware clock is set to UTC or local time)
57
61
from \fI/etc/adjtime\fP. That's the location where the
58
62
.BR hwclock (8)
59
 
stores that information.
 
63
stores that information. This is the default.
60
64
.TP
61
65
\fB-l\fP | \fB--local\fP
62
66
Assumes that the hardware clock is set to local time, regardless of the
110
114
.B on
111
115
Don't suspend, but read RTC device until alarm time appears. This mode is
112
116
useful for debugging.
 
117
.TP
 
118
.B disable
 
119
Disable previously set alarm.
 
120
.TP
 
121
.B show
 
122
Print alarm information in format: "alarm: off|on  <time>".
 
123
The time is in ctime() output format, e.g. "alarm: on  Tue Nov 16 04:48:45 2010".
113
124
.RE
114
125
.PP
115
126
.SH NOTES
121
132
before appearing in kernel commit message for Linux 2.6 in the GIT
122
133
commit 87ac84f42a7a580d0dd72ae31d6a5eb4bfe04c6d.
123
134
.SH AVAILABILITY
124
 
The rtcwake command is part of the util-linux-ng package and is available from
125
 
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
 
135
The rtcwake command is part of the util-linux package and is available from
 
136
ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
126
137
.SH AUTHOR
127
138
The program was written by David Brownell <dbrownell@users.sourceforge.net>
128
139
and improved by Bernhard Walle <bwalle@suse.de>.