Bug 851787 - Bash Completion doesn't complete for the devices for the lvm commands
Summary: Bash Completion doesn't complete for the devices for the lvm commands
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-25 20:18 UTC by Michal Ambroz
Modified: 2012-09-23 18:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-23 18:03:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Ambroz 2012-08-25 20:18:14 UTC
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.