← Back to team overview

touch-packages team mailing list archive

[Bug 1513891] [NEW] Enhancement: Print full pathname in lvcreate

 

Public bug reported:

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

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lvm2 in Ubuntu.
https://bugs.launchpad.net/bugs/1513891

Title:
  Enhancement: Print full pathname in lvcreate

Status in lvm2 package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1513891/+subscriptions