[xen-tools-dev] RFC : arguments validation
Stéphane Jourdois
sjourdois at gmail.com
Sat Jul 17 13:38:34 CEST 2010
Le 17/07/2010 13:36, Dmitry Nedospasov a écrit :
> On Sat, Jul 17, 2010 at 01:31:33PM +0200, Dmitry Nedospasov wrote:
>> Hmm, I'll have to test this later. I haven't found any suffixes in the
>> xmexamples on my dom0 though, which was my original point. Try setting
>> Gb, will this work?
>
> Actually this reminds me of how confusing this is for people who don't
> understand what the parameters are for. Does anyone know how the size
> parameters are actually parsed?
>
> It would be nice to have a common format for them. I know that for
> example, --size<size>G works for me because AFAIK this gets passed
> directly to lvcreate (as i use LVM).
>
> Should we maybe add this to a TODO?
That's exactly what I was thinking 3 minutes ago while replying to your
previous mail !
I'll do that while finishing the validation patch.
Thanks for the idea.
--
/// Stephane Jourdois /"\ ASCII RIBBON CAMPAIGN \\\
((( Consultant securite \ / AGAINST HTML MAIL )))
\\\ 157 Bd Davout X ///
\\\ 75020 Paris / \ +33 6 8643 3085 ///
More information about the xen-tools-dev
mailing list