~ubuntu-branches/ubuntu/karmic/sysvinit/karmic-updates

« back to all changes in this revision

Viewing changes to man/halt.8

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2009-09-07 19:56:53 UTC
  • mfrom: (1.1.4 upstream) (2.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090907195653-2i6t0j91wfbf1f0d
Tags: 2.87dsf-4ubuntu1
* Merge from debian unstable, remaining changes:
  - Support Cell processor:
    + debian/initscripts/postinst: Create spu system group and /spu mount
      point if we are running on a Cell processor.
    + debian/initscripts/etc/init.d/mountkernfs.sh: Mount spufs if Cell
      processor is detected.
    + debian/initscripts/lib/init/mount-functions.sh: Modprobe spufs
      if not available.
    + debian/control: Add initscripts dependency 'passwd' for groupadd.
    (Forwarded to Debian #483399)
  - Use tmpfs mounts for /var/lock and /var/run:
    + debian/initscripts/share/default.rcS: Enable RAMRUN and RAMLOCK by
      default.
    + debian/initscripts.postinst: Enable RAMRUN and RAMLOCK in
      /etc/default/rcS on upgrades. This needs to be kept until the next
      LTS.
    + debian/initscripts/etc/init.d/mountkernfs.sh: Propagate files from the
      initramfs to our new /var/run, so that we can populate
      /var/run/sendsigs.omit from initramfs.
  - Boot ordering differences:
    + mountkernfs.sh: 02 -> 01
    + mountdevsubfs.sh: 04 -> 11
    + bootlogd: disabled by default
    + checkroot.sh: 10 -> 20
    + mtab.sh: 12 -> 22
  - debian/patches/91_sulogin_lockedpw.dpatch: Disable "root account is
    locked" warning, since this is the default in Ubuntu. Document this in
    sulogin.8.
  - debian/control: Drop Essential: yes from packages since we use Upstart.
  - debian/control: Conflict/Replace sysvconfig which has also previously
    provided service(8).
  - debian/control, debian/rules: Previous name for sysvinit-utils was
    'sysvutils' in Ubuntu, so Conflict/Replace/Provide it. Also create a
    dummy sysvutils package, since Hardy has reverse versioned dependencies
    to it. This needs to be kept until after the next LTS.
  - debian/control: Depend on lsb-base (>= 3.2-14) for status_of_proc()
    function.
  - debian/initscripts/etc/init.d/checkfs.sh: Don't depend on hwclockfirst
    which Ubuntu does not have.
  - debian/initscripts/etc/init.d/mountkernfs.sh: Always mount devpts, and
    do not touch /dev/ptmx (which is already managed by udev).
  - debian/initscripts/etc/init.d/mountkernfs.sh: mount fusectl if it is
    available
  - debian/initscripts/etc/init.d/mountkernfs.sh: mount securityfs if it is
    available. This allows for easier AppArmor confinement of applications
    early in the boot process. LP: #399954
  - debian/initscripts/etc/init.d/mountkernfs.sh: mount debugfs if it is
    available.
  - debian/initscripts/etc/init.d/ondemand: Sleep for 60 seconds, then
    set CPU Frequency Scaling governor to "ondemand".   LP: #341573.
  - debian/initscripts/etc/init.d/umountfs: Don't unmount filesystems
    that precede root or use force for some mountpoints.
  - debian/initscripts/etc/network/if-up.d/mountnfs: Rename ifstate
    file to /var/run/network/ifstate
  - ./debian/initscripts/lib/init/usplash-fsck-functions.sh: Use blkid,
    vol_id is gone.
  - debian/initscripts.{pre,postinst}: waitnfs.sh -> mountnfs.sh renaming
    transition. This needs to be kept until after the next LTS.

LP: #32455, #94120, #160197, #382097 (amongst others).

* debian/sysv-rc/sbin/update-rc.d: Dropped support for "multiuser"
  command-line option.
* debian/rules: Compat symlink from /usr/bin/service to /usr/sbin/service
* debian/initscripts.postinst: Transition from bootlogs.sh to bootlogs

* debian/sysv-rc.postinst: Don't try and use insserv by default, though
  everything's in place for you to try if you like.  It can be activated
  with:
      USEINSSERV=yes dpkg-reconfigure sysv-rc

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
.SH DESCRIPTION
37
37
\fBHalt\fP notes that the system is being brought down in the file
38
38
\fI/var/log/wtmp\fP, and then either tells the kernel to halt, reboot or
39
 
poweroff the system.
 
39
power-off the system.
40
40
.PP
41
41
If \fBhalt\fP or \fBreboot\fP is called when the system is
42
42
\fInot\fP in runlevel \fB0\fP or \fB6\fP, in other words when it's running
50
50
.\"{{{  Options
51
51
.SH OPTIONS
52
52
.IP \fB\-n\fP
53
 
Don't sync before reboot or halt.
 
53
Don't sync before reboot or halt. Note that the kernel and storage
 
54
drivers may still sync.
54
55
.IP \fB\-w\fP
55
56
Don't actually reboot or halt but only write the wtmp record
56
57
(in the \fI/var/log/wtmp\fP file).
61
62
.IP \fB\-i\fP
62
63
Shut down all network interfaces just before halt or reboot.
63
64
.IP \fB\-h\fP
64
 
Put all harddrives on the system in standby mode just before halt or poweroff.
 
65
Put all hard drives on the system in stand-by mode just before halt or power-off.
65
66
.IP \fB\-p\fP
66
 
When halting the system, do a poweroff. This is the default when halt is
 
67
When halting the system, switch off the power. This is the default when halt is
67
68
called as \fBpoweroff\fP.
68
69
.\"}}}
69
70
.\"{{{  Diagnostics
80
81
correctly) \fBshutdown\fP will be called, which might not be what you want.
81
82
Use the \fB-f\fP flag if you want to do a hard \fBhalt\fP or \fBreboot\fP.
82
83
.PP
83
 
The \fB-h\fP flag puts all harddisks in standby mode just before halt
84
 
or poweroff. Right now this is only implemented for IDE drives. A side
85
 
effect of putting the drive in standby mode is that the write cache
 
84
The \fB-h\fP flag puts all hard disks in standby mode just before halt
 
85
or power-off. Right now this is only implemented for IDE drives. A side
 
86
effect of putting the drive in stand-by mode is that the write cache
86
87
on the disk is flushed. This is important for IDE drives, since the
87
 
kernel doesn't flush the write-cache itself before poweroff.
 
88
kernel doesn't flush the write cache itself before power-off.
88
89
.PP
89
90
The \fBhalt\fP program uses /proc/ide/hd* to find all IDE disk devices,
90
 
which means that /proc needs to be mounted when \fBhalt\fP or
 
91
which means that \fI/proc\fP needs to be mounted when \fBhalt\fP or
91
92
\fBpoweroff\fP is called or the \fB-h\fP switch will do nothing.
92
93
.PP
93
94
.\"}}}