]> www.infradead.org Git - mtd-www.git/commitdiff
UBI: amend mounting examples
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 26 Jan 2010 15:26:36 +0000 (17:26 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 26 Jan 2010 15:26:36 +0000 (17:26 +0200)
Use mounting by UBI volumes character device in the examples,
instead of the old mounting way.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
doc/ubifs.xml
faq/ubifs.xml

index 94ccfa5300b211b4266df0e762daf1f0c250fdcd..ed1a82de52760d109905777b1fa94ac01f4b0f9d 100644 (file)
@@ -919,7 +919,7 @@ does not write them to the target file-system image.</p>
 <p>Example:</p>
 
 <pre>
-$ mount -t ubifs -o no_chk_data_crc ubi0:rootfs /mnt/ubifs
+$ mount -o no_chk_data_crc /dev/ubi0_0 /mnt/ubifs
 </pre>
 
 <p>mounts UBIFS file-system to <code>/mnt/ubifs</code> and disables data CRC
index a39c7ff886c3fdec8f01780cfc6a36a4a9ad7bb2..6773b8ac7b3c3b4acc7b54a83ae439c91ca3d6da 100644 (file)
@@ -866,7 +866,7 @@ modprobe ubi mtd=0
 ubimkvol /dev/ubi0 -N ubifs-vol -s 200MiB
 
 # Mount UBIFS
-mount -t ubifs ubi0:ubifs-vol /mnt/ubifs
+mount -t ubifs /dev/ubi0_0 /mnt/ubifs
 </pre>
 
 <p>For more information about nandsim see
@@ -911,7 +911,7 @@ dd if=ubi.img of=/dev/mtd0 bs=2048
 modprobe ubi mtd=0
 
 # Mount UBIFS
-mount -t ubifs ubi0_0 /mnt/ubifs
+mount -t ubifs /dev/ubi0_0 /mnt/ubifs
 </pre>
 
 <p>Now you have the file-system in <code>/mnt/ubifs</code>. Use