Public bug reported:

Currently the guided methods of the Ubuntu installer only address single
disk setup. When a user have several disks on his machine he has to use
the manual partitioning which is prone to failure for inexperienced
users.

It would be useful to understand how many disks are installed on a
system and their size to determine how update the installer to best suit
users' needs.

This information is available from /sys/block/<device>/size . The
information is in blocks. The block size is available from
/sys/block/<device>/queue/{logical|physical}_block_size

For example on my system

$ cat /sys/block/sda/{size,queue/*_block_size}
125045424
512
512

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: ubuntu-report 1.2.0
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.10-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 30 14:42:25 2018
Dependencies:
 gcc-8-base 8.2.0-1ubuntu2
 libc6 2.27-3ubuntu1
 libgcc1 1:8.2.0-1ubuntu2
InstallationDate: Installed on 2014-07-15 (1476 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubuntu-report
UpgradeStatus: Upgraded to cosmic on 2018-03-24 (127 days ago)

** Affects: ubuntu-report (Ubuntu)
     Importance: Undecided
     Assignee: Didier Roche (didrocks)
         Status: Triaged


** Tags: amd64 apport-bug cosmic

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-report in Ubuntu.
https://bugs.launchpad.net/bugs/1784383

Title:
  Collect number of disks and disk size

Status in ubuntu-report package in Ubuntu:
  Triaged

Bug description:
  Currently the guided methods of the Ubuntu installer only address
  single disk setup. When a user have several disks on his machine he
  has to use the manual partitioning which is prone to failure for
  inexperienced users.

  It would be useful to understand how many disks are installed on a
  system and their size to determine how update the installer to best
  suit users' needs.

  This information is available from /sys/block/<device>/size . The
  information is in blocks. The block size is available from
  /sys/block/<device>/queue/{logical|physical}_block_size

  For example on my system

  $ cat /sys/block/sda/{size,queue/*_block_size}
  125045424
  512
  512

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: ubuntu-report 1.2.0
  ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
  Uname: Linux 4.15.0-23-generic x86_64
  ApportVersion: 2.20.10-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Jul 30 14:42:25 2018
  Dependencies:
   gcc-8-base 8.2.0-1ubuntu2
   libc6 2.27-3ubuntu1
   libgcc1 1:8.2.0-1ubuntu2
  InstallationDate: Installed on 2014-07-15 (1476 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
  SourcePackage: ubuntu-report
  UpgradeStatus: Upgraded to cosmic on 2018-03-24 (127 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to