public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2]xfs_io man page
@ 2006-11-29  0:27 Utako Kusaka
  2006-11-29 22:23 ` Nathan Scott
  0 siblings, 1 reply; 9+ messages in thread
From: Utako Kusaka @ 2006-11-29  0:27 UTC (permalink / raw)
  To: xfs

Hi,

This patch adds offset and length parameter to the man page for 
pread, pwrite, mread and mwrite command in xfs_io(8).
I guess this is useful for testers.
What do you think of it?

Signed-off-by: Utako Kusaka <utako@tnes.nec.co.jp>
---

--- xfsprogs-2.8.15-orgn/man/man8/xfs_io.8	2006-07-04 20:57:05.000000000 +0900
+++ xfsprogs-2.8.15/man/man8/xfs_io.8	2006-11-16 15:55:34.566928372 +0900
@@ -99,7 +99,7 @@ Closes the current open file, marking th
 \f3c\f1
 See the \f3close\f1 command.
 .TP
-\f3pread\f1 [ \f2\-b bsize\f1 ] [ \f2\-v\f1 ]
+\f3pread\f1 [ \f2\-b bsize\f1 ] [ \f2\-v\f1 ] \f2offset\f1 \f2length\f1
 Reads a range of bytes in a specified blocksize from the given offset.
 .br
 The \f3\-b\f1 option can be used to set the blocksize into which the
@@ -112,7 +112,7 @@ by default only the count of bytes actua
 \f3r\f1
 See the \f3pread\f1 command.
 .TP
-\f3pwrite\f1 [ \f2\-i file\f1 ] [ \f2\-d\f1 ] [ \f2\-s skip\f1 ] [ \f2\-b size\f1 ] [ \f2\-S seed\f1 ]
+\f3pwrite\f1 [ \f2\-i file\f1 ] [ \f2\-d\f1 ] [ \f2\-s skip\f1 ] [ \f2\-b size\f1 ] [ \f2\-S seed\f1 ] \f2offset
\f1 \f2length\f1
 Writes a range of bytes in a specified blocksize from the given offset.
 The bytes written can be either a set pattern or read in from another
 file before writing.
@@ -211,7 +211,7 @@ Unmaps the current memory mapping.
 \f3mu\f1
 See the \f3munmap\f1 command.
 .TP
-\f3mread\f1 [ \-\f2frv\f1 ]
+\f3mread\f1 [ \-\f2frv\f1 ] [ \f2offset\f1 \f2length\f1 ]
 Accesses a segment of the current memory mapping, optionally dumping it to
 the standard output stream (with \f2-v\f1 or \f2-f\f1 option) for inspection.
 The accesses are performed sequentially from the start offset by default,
@@ -224,7 +224,7 @@ offsets relative to the start of the map
 \f3mr\f1
 See the \f3mread\f1 command.
 .TP
-\f3mwrite\f1 [ \f2-r\f1 ] [ \f2-S seed\f1 ]
+\f3mwrite\f1 [ \f2-r\f1 ] [ \f2-S seed\f1 ] [ \f2offset\f1 \f2length\f1 ]
 Stores a byte into memory for a range within a mapping.
 The default stored value is 'X', repeated to fill the range specified,
 but this can be changed using the \f2-S\f1 option.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-30 20:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29  0:27 [PATCH 2/2]xfs_io man page Utako Kusaka
2006-11-29 22:23 ` Nathan Scott
2006-11-29 23:43   ` inode64 workaround Deanan
2006-11-30  0:47     ` David Chatterton
2006-11-30  0:59       ` Deanan
2006-11-30  1:15         ` David Chatterton
2006-11-30  1:37           ` Deanan
2006-11-30  5:11             ` Eric Sandeen
2006-11-30 20:33               ` Deanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox