touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #19820
[Bug 1174098] Re: blockdev doesn't work as reported with loop devices
Uploaded fix for Trusty.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1174098
Title:
blockdev doesn't work as reported with loop devices
Status in “util-linux” package in Ubuntu:
Fix Released
Status in “util-linux” source package in Trusty:
In Progress
Status in “util-linux” source package in Utopic:
Fix Released
Bug description:
According to blockdev's manual:
--report
Print a report for the specified device. It is possible to give
multiple devices. If none is given, all devices which appear in
/proc/partitions are shown. Note that the partition StartSec is
in 512-byte sectors.
However, I'm running Ubuntu installed with wubi, so my root dev is on
a loopback device. Here's my /proc/partitions:
major minor #blocks name
7 0 30457856 loop0
7 1 31457280 loop1
8 0 732574584 sda
8 1 26214400 sda1
8 2 307263488 sda2
8 3 1 sda3
8 5 399092736 sda5
So according to the manual, all these devices should be printed with
blockdev --report. But they are not, the loop devices are excluded:
$ sudo blockdev --report
[sudo] password for user:
RO RA SSZ BSZ StartSec Size Device
rw 256 512 4096 0 750156374016 /dev/sda
rw 256 512 4096 2048 26843545600 /dev/sda1
rw 256 512 4096 52430848 314637811712 /dev/sda2
rw 256 512 1024 666957824 1024 /dev/sda3
rw 256 512 4096 666959872 408670961664 /dev/sda5
$
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: util-linux 2.20.1-5.1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-27.46-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Sun Apr 28 23:48:07 2013
InstallationDate: Installed on 2012-04-12 (381 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
SourcePackage: util-linux
UpgradeStatus: Upgraded to quantal on 2012-11-15 (164 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1174098/+subscriptions