* [PATCH]: Documentation for xm block-attach
@ 2007-03-09 18:36 Chris Lalancette
2007-03-09 18:55 ` Daniel P. Berrange
0 siblings, 1 reply; 2+ messages in thread
From: Chris Lalancette @ 2007-03-09 18:36 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
Attached is a simple patch to update the man page for xm block-attach. It
currently says to use "ro" or "rw" for the mode, when it seems, empirically, to
take "r" or "w" for the mode, respectively. Update the man page to reflect that.
The patch is against 3.0.3, but applies to xen-unstable with an offset.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
[-- Attachment #2: xen-3.0.3-man-block-attach-mode.patch --]
[-- Type: text/x-patch, Size: 419 bytes --]
--- xen-3.0.3_0-src/docs/man/xm.pod.1.orig 2007-03-09 12:14:59.000000000 -0500
+++ xen-3.0.3_0-src/docs/man/xm.pod.1 2007-03-09 12:15:02.000000000 -0500
@@ -541,7 +541,7 @@ devices, or by device id, such as 0x1400
=item I<mode>
The access mode for the device from the guest domain. Supported modes
-are I<rw> (read/write) or I<ro> (read-only).
+are I<w> (read/write) or I<r> (read-only).
=item I<bedomain-id>
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH]: Documentation for xm block-attach
2007-03-09 18:36 [PATCH]: Documentation for xm block-attach Chris Lalancette
@ 2007-03-09 18:55 ` Daniel P. Berrange
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrange @ 2007-03-09 18:55 UTC (permalink / raw)
To: Chris Lalancette; +Cc: xen-devel
On Fri, Mar 09, 2007 at 01:36:48PM -0500, Chris Lalancette wrote:
> Attached is a simple patch to update the man page for xm block-attach. It
> currently says to use "ro" or "rw" for the mode, when it seems, empirically, to
> take "r" or "w" for the mode, respectively. Update the man page to reflect that.
Hmm, this sounds like a bug in both the man page, and block-attach. It
ought to be possible to configure disks with any of
r
w
ro
rw
w!
rw!
!
The hotplug scripts normalize this down to just
r
w
!
So the block-attach command should accept the former large set, and man
page should reflect that too
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-09 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09 18:36 [PATCH]: Documentation for xm block-attach Chris Lalancette
2007-03-09 18:55 ` Daniel P. Berrange
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.