[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel][PATCH] Add escape sequence for ':' in command's PV list



On 05/13/2009 09:43 PM, Dave Wysochanski wrote:
> I know, it does not make sense to specify a pe range
> for pvcreate or vgcreate.  But shouldn't we be consistent, or at least
> very much clarify the arguments are different?  I can just imagine
> someone scripting something and then being surprised when they needed to
> quote only for lvcreate, pvmove, etc.

Hmm, then the question is, what should we do with single unescaped ':' if
it appears in pvcreate, vgcreate, e.g. "pvcreate /dev/a::b:c" -- the first
double one is OK, but what about the second single one? Should it be considered
as an input error then? (...probably giving the user a message like
"PE range definition not allowed here.")

Peter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]