summaryrefslogtreecommitdiff
path: root/dracut.8.asc
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-01-21 11:23:19 +0000
committerHarald Hoyer <harald@redhat.com>2013-01-23 15:24:27 +0100
commitc586b033a710ed9d2bf6dd5c99505385e101163b (patch)
tree8e53ef0731879723ae68f9e611bd3b090e477428 /dracut.8.asc
parenta9f634f81500b2e255468ef0be342b61e7061c81 (diff)
downloaddracut-c586b033a710ed9d2bf6dd5c99505385e101163b.tar.gz
dracut-c586b033a710ed9d2bf6dd5c99505385e101163b.tar.bz2
dracut-c586b033a710ed9d2bf6dd5c99505385e101163b.zip
Extend 52f1b041 to allow devices to be specified in config files as well as cmdline.
This also changes the command line switch to be --add-device and the config directive is set to add_device. This was chosen as device= in the config file seems too generic and not quite as consistent with other directives (i.e. drivers/add_drivers) The --device command line is still supported but it should be considered deprecated in favour of --add-device.
Diffstat (limited to 'dracut.8.asc')
-rw-r--r--dracut.8.asc7
1 files changed, 5 insertions, 2 deletions
diff --git a/dracut.8.asc b/dracut.8.asc
index 63000551..da7f3271 100644
--- a/dracut.8.asc
+++ b/dracut.8.asc
@@ -332,8 +332,11 @@ provide a valid _/etc/fstab_.
Mount _<device>_ on _<mountpoint>_ with _<filesystem type>_ and _<filesystem
options>_ in the initramfs
-**--device** _<device>_ ::
- Bring up _<device>_ in initramfs, _<device>_ should be the device name
+**--add-device** _<device>_ ::
+ Bring up _<device>_ in initramfs, _<device>_ should be the device name.
+ This can be useful in hostonly mode for resume support when your swap is on
+ LVM or an encrypted partition.
+ [NB --device can be used for compatibility with earlier releases]
**-i, --include** _<SOURCE>_ _<TARGET>_::
include the files in the SOURCE directory into the