diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2012-01-25 15:18:02 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-01-30 12:11:16 +1100 |
commit | 08ca2adffffeb3bfda3cafababfc26706a60463b (patch) | |
tree | b44c11d30e02c6e6f0dd5ac0e84467778bb84e5f /mdadm.8.in | |
parent | eb155f6de0986dc14c37dc9c4172bf0bcb8779fe (diff) |
Add --offroot argument to mdadm
When --offroot is specified, mdadm will change the first character of
argv[0] to '@'. This is used to signal to systemd that mdadm was
launched from initramfs and should not be shut down before returning
to the initramfs.
Acked-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r-- | mdadm.8.in | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -255,6 +255,18 @@ Avoid printing purely informative messages. With this, will be silent unless there is something really important to report. .TP +.BR \-\-offroot +Set first character of argv[0] to @ to indicate mdadm was launched +from initrd/initramfs and should not be shutdown by systemd as part of +the regular shutdown process. This option is normally only used by +the system's initscripts. Please see here for more details on how +systemd handled argv[0]: +.IP +.B http://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons +.PP + + +.TP .BR \-f ", " \-\-force Be more forceful about certain operations. See the various modes for the exact meaning of this option in different contexts. |