Sounds good, here is the output from: lsblk --pairs "--output=$full" /dev/sda
ALIGNMENT="0" DISC-ALN="0" DISC-GRAN="0B" DISC-MAX="0B" DISC-ZERO="0" FSTYPE="" 
GROUP="disk" KNAME="sda" LABEL="" LOG-SEC="512" MAJ:MIN="8:0" MIN-IO="512" 
MODE="brw-rw----" MODEL="main            " MOUNTPOINT="" NAME="sda" OPT-IO="0" 
OWNER="root" PHY-SEC="512" RM="1" RO="0" ROTA="1" RQ-SIZE="128" SIZE="100G" 
STATE="running" TYPE="disk" UUID=""
ALIGNMENT="0" DISC-ALN="0" DISC-GRAN="0B" DISC-MAX="0B" DISC-ZERO="0" FSTYPE="" 
GROUP="disk" KNAME="sda1" LABEL="" LOG-SEC="512" MAJ:MIN="8:1" MIN-IO="512" 
MODE="brw-rw----" MODEL="" MOUNTPOINT="/" NAME="sda1" OPT-IO="0" OWNER="root" 
PHY-SEC="512" RM="1" RO="0" ROTA="1" RQ-SIZE="128" SIZE="100G" STATE="" 
TYPE="part" UUID=""

And the output from lsblk --pairs "--output=$short" /dev/sda
NAME="sda" MAJ:MIN="8:0" RM="1" SIZE="100G" RO="0" TYPE="disk" MOUNTPOINT=""
NAME="sda1" MAJ:MIN="8:1" RM="1" SIZE="100G" RO="0" TYPE="part" MOUNTPOINT="/"

I may be misreading it, however it looks to me like the initial output
is telling the same story, in lsblk -l  it looks to me like it has the
below structure with formatting, which seems to me that it is being
reported wrong all the way around. That being said I don't have any
experience with lsblk so I could be completely off.

NAME   MAJ:MIN   RM  SIZE    RO TYPE  MOUNTPOINT
sda         8:0               1     100G   0     disk
sda1       8:1               1     100G   0     part    /

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1532062

Title:
  Drives mistakenly reported as removable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1532062/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to