xm block-attach takes "r" as read-only, not "ro". This is a backport candidate for 4.3, and probably others. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> CC: Ian Campbell <ian.campbell@citrix.com> CC: Ian Jackson <ian.jackson@citrix.com> CC: Jan Beulich <jbeulich@suse.com> --- docs/man/xm.pod.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/man/xm.pod.1 b/docs/man/xm.pod.1 index 4d47388..973de95 100644 --- a/docs/man/xm.pod.1 +++ b/docs/man/xm.pod.1 @@ -900,7 +900,7 @@ B<EXAMPLES> =item I<Mount an ISO as a Disk> -xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc ro +xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc r This will mount the dsl ISO as /dev/hdc in the guestdomain as a read only device. This will probably not be detected as a CD-ROM by the -- 1.7.9.5
Ping? On Fri, Jul 5, 2013 at 5:30 PM, George Dunlap <george.dunlap@eu.citrix.com> wrote:> xm block-attach takes "r" as read-only, not "ro". > > This is a backport candidate for 4.3, and probably others. > > Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> > CC: Ian Campbell <ian.campbell@citrix.com> > CC: Ian Jackson <ian.jackson@citrix.com> > CC: Jan Beulich <jbeulich@suse.com> > --- > docs/man/xm.pod.1 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/docs/man/xm.pod.1 b/docs/man/xm.pod.1 > index 4d47388..973de95 100644 > --- a/docs/man/xm.pod.1 > +++ b/docs/man/xm.pod.1 > @@ -900,7 +900,7 @@ B<EXAMPLES> > > =item I<Mount an ISO as a Disk> > > -xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc ro > +xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc r > > This will mount the dsl ISO as /dev/hdc in the guestdomain as a read > only device. This will probably not be detected as a CD-ROM by the > -- > 1.7.9.5 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel
On Fri, 2013-07-05 at 17:30 +0100, George Dunlap wrote:> xm block-attach takes "r" as read-only, not "ro". > > This is a backport candidate for 4.3, and probably others. > > Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> > CC: Ian Campbell <ian.campbell@citrix.com>Applied to staging.> CC: Ian Jackson <ian.jackson@citrix.com> > CC: Jan Beulich <jbeulich@suse.com> > --- > docs/man/xm.pod.1 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/docs/man/xm.pod.1 b/docs/man/xm.pod.1 > index 4d47388..973de95 100644 > --- a/docs/man/xm.pod.1 > +++ b/docs/man/xm.pod.1 > @@ -900,7 +900,7 @@ B<EXAMPLES> > > =item I<Mount an ISO as a Disk> > > -xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc ro > +xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc r > > This will mount the dsl ISO as /dev/hdc in the guestdomain as a read > only device. This will probably not be detected as a CD-ROM by the