Enhancement: Print full pathname in lvcreate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Always, when I call lvcreate on the command line, the next command which i type will be mkfs.* which needs a full pathname to the device. As a person which try to work as efficient as possible, I wish that lvcreate prints the full path of the created volume so that I can easily copy&paste it in a graphical based terminal window.
ACTUAL BEHAVIOUR
root@rt-jenkins2:~# lvcreate -n docker vg00 -L5G
Logical volume "docker" created
root@rt-jenkins2:~# mkfs.ext4 /dev/vg00/docker
EXPECTED BEHAVIOUR
root@rt-jenkins2:~# lvcreate -n docker vg00 -L5G
Logical volume "/dev/vg00/docker" created
root@rt-jenkins2:~# mkfs.ext4 /dev/vg00/docker
---
dpkg -l lvm2
ii lvm2 2.02.98-6ubu amd64 Linux Logical Volume Manager