Enhancement: Print full pathname in lvcreate

Bug #1513891 reported by Daniel
6
This bug affects 1 person
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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.