Bug 851787 - Bash Completion doesn't complete for the devices for the lvm commands
Bash Completion doesn't complete for the devices for the lvm commands
Product: Fedora
Classification: Fedora
Component: bash-completion (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-08-25 16:18 EDT by Michal Ambroz
Modified: 2012-09-23 14:03 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-09-23 14:03:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Ambroz 2012-08-25 16:18:14 EDT
Description of problem:
the bash completion doesn't complete for the /dev/mapper device file names for the lv commands. For example when you type
lvdisplay /dev/mapper/[Tab][Tab]
It won't show you the existing lv devices in the path.

It works only when you type:
lvdisplay [Tab][Tab]
it will offer you devices in /dev/[volumegroups/*

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
lvdisplay /dev/mapper/[Tab][Tab]

2.or type
lvchange /d[Tab][Tab]

3. or type
lvresize /dev/[Tab][Tab]
4. or type
lvextend /dev/v[Tab][Tab]

and possibly some other lv commands as well.

Actual results:
Device name is not completed as expected.

Expected results:
Expected result is that it would show relevant devices or at least all files in given path.

Note You need to log in before you can comment on or make changes to this bug.