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
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: bash-completion (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ville Skyttä
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2012-09-23 14:03:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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:
Hello,
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):
bash-completion-2.0-1.fc17.noarch

How reproducible:
100%

Steps to Reproduce:
1.type
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.