]> www.infradead.org Git - mtd-www.git/commitdiff
UBI: do not use "attach" for ubiblock
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 4 Mar 2014 10:06:24 +0000 (12:06 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 4 Mar 2014 10:06:24 +0000 (12:06 +0200)
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
doc/ubi.xml

index 19140a10b156d81b4f8ef5040d622853c7cef73c..393b27b3362654dcd4480bf8515e8756e0d5cd8a 100644 (file)
@@ -1319,12 +1319,12 @@ load time:</p>
 $ modprobe ubi mtd=/dev/mtd5 block=/dev/ubi0_0
 </pre>
 
-<p>A block device can also be attached/detached dynamically at runtime, using
-the <code>ubiblock</code> user-space tool:</p>
+<p>A block device can also be created/removed dynamically at runtime, using the
+<code>ubiblock</code> user-space tool:</p>
 
 <pre>
-$ ubiblock --attach /dev/ubi0_0
-$ ubiblock --detach /dev/ubi0_0
+$ ubiblock --create /dev/ubi0_0
+$ ubiblock --remove /dev/ubi0_0
 </pre>