svn commit: r234478 - projects/nand/usr.sbin/nandtool
Grzegorz Bernacki
gber at FreeBSD.org
Fri Apr 20 02:47:36 UTC 2012
Author: gber
Date: Fri Apr 20 02:47:35 2012
New Revision: 234478
URL: http://svn.freebsd.org/changeset/base/234478
Log:
nandtool: Adjust man page.
Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks
Modified:
projects/nand/usr.sbin/nandtool/nandtool.8
Modified: projects/nand/usr.sbin/nandtool/nandtool.8
==============================================================================
--- projects/nand/usr.sbin/nandtool/nandtool.8 Fri Apr 20 02:38:41 2012 (r234477)
+++ projects/nand/usr.sbin/nandtool/nandtool.8 Fri Apr 20 02:47:35 2012 (r234478)
@@ -23,7 +23,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd August 18, 2010
+.Dd April 10, 2012
.Dt NANDTOOL 8
.Os
.Sh NAME
@@ -45,13 +45,12 @@ The following commands are available:
.Bl -tag -width ".Cm of Ns = Ns Ar file"
.It Cm read Ns
Read pages from NAND device.
-Arguments:
.It Cm write Ns
Write pages to NAND device.
.It Cm erase Ns
-Erase blocks. Requires offset to be specified in block granularity.
+Erase blocks. Requires offset aligned to block granularity.
.It Cm info Ns
-Get information about NAND chip (page size, block size, OOB area size,
+Get information about NAND chip (page size, block size, OOB area size, chip size
and media size)
.It Cm readoob Ns
Read OOB area from specified page.
@@ -150,7 +149,7 @@ WARNING: The only required parameter for
When no other arguments are provided the whole device is erased!
.Sh COMMAND info
.Bl -tag -width ".Cm of Ns = Ns Ar file"
-There is only one operand availble for
+There is only one operand available for
.Va nandtool info
command:
.It Cm dev Ns = Ns Ar <path>
@@ -158,7 +157,7 @@ Path to NAND device node.
.El
.Sh COMMAND help
.Bl -tag -width ".Cm of Ns = Ns Ar file"
-There is only one operand availble for
+There is only one operand available for
.Va nandtool help
command:
.Pp
@@ -167,5 +166,12 @@ Help topic.
.El
.Sh EXIT STATUS
.Ex -std
+If the supplied argument
+.Ar dev
+points to a device node other than gnand<num> or gnand.raw<num> both
+.Va nandtool readoob
+and
+.Va nandtool writeoob
+return error.
.Sh SEE ALSO
.Xr gnand 4
More information about the svn-src-projects
mailing list