[Bash-completion-devel] [bash-completion-Bugs][311391] DBTS 471266: lvm completion does not work properly

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Fri Jan 30 08:46:09 UTC 2009


Bugs item #311391, was opened at 30/01/2009 09:46
Status: Open
Priority: 3
Submitted By: David Paleino (hanska-guest)
Assigned to: Nobody (None)
Summary: DBTS 471266: lvm completion does not work properly  
Distribution: None
Originally reported in: Debian BTS
Original bug number: 471266


Initial Comment:
Command line completion (in /etc/bash_completion) for the lvm2 suite of 
tools does not work very well and it would be better to remove it
altogether.

Examples of broken behaviour:
# lvextend --size <tab>

This only allows completion on the words in the list "g  G  k  K  m  M
t  T". However a number must also be entered before the the units and
then the units cannot be completed. This is of such marginal utility
that is should be removed (IMHO).

# lvextend --size +40G <tab>

The completes on the physical volumes, not the logical volumes as it
should. This is because it counts "+40G" as the logical volume (the
first non-option argument) and assumes that a physical volume path is
now needed.

I think there are a number of other situations when the completion
fails. I always seem to have to type a path to the logical volume
without tab completion available. It would be better if it did not try
any specific completion at all.


----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311391&group_id=100114



More information about the Bash-completion-devel mailing list