summaryrefslogtreecommitdiff
path: root/Documentation/ide/warm-plug-howto.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-12 20:52:47 +0300
committerJonathan Corbet <corbet@lwn.net>2019-06-14 23:21:18 +0300
commitd7b461c5e82fc5f5e4261f3b0228ecda58eb9f1a (patch)
treeed0279bbecdc0cc31652ea25d8e6d403a6a73880 /Documentation/ide/warm-plug-howto.rst
parentc220a1fae6c5df52ed3a02f88b86a27830ea0210 (diff)
downloadlinux-d7b461c5e82fc5f5e4261f3b0228ecda58eb9f1a.tar.xz
docs: ide: convert docs to ReST and rename to *.rst
The conversion is actually: - add blank lines and identation in order to identify paragraphs; - fix tables markups; - add some lists markups; - mark literal blocks; - adjust title markups. At its new index.rst, let's add a :orphan: while this is not linked to the main index.rst file, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/ide/warm-plug-howto.rst')
-rw-r--r--Documentation/ide/warm-plug-howto.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/ide/warm-plug-howto.rst b/Documentation/ide/warm-plug-howto.rst
new file mode 100644
index 000000000000..c245242ef2f1
--- /dev/null
+++ b/Documentation/ide/warm-plug-howto.rst
@@ -0,0 +1,18 @@
+===================
+IDE warm-plug HOWTO
+===================
+
+To warm-plug devices on a port 'idex'::
+
+ # echo -n "1" > /sys/class/ide_port/idex/delete_devices
+
+unplug old device(s) and plug new device(s)::
+
+ # echo -n "1" > /sys/class/ide_port/idex/scan
+
+done
+
+NOTE: please make sure that partitions are unmounted and that there are
+no other active references to devices before doing "delete_devices" step,
+also do not attempt "scan" step on devices currently in use -- otherwise
+results may be unpredictable and lead to data loss if you're unlucky