Subject: Re: blockdev.exe is missing in util-linux. How to determine block device size in bash?
From: Brian Inglis <[email-masked]>
To: [email-masked]
Date: Sat, 28 Nov 2020 10:04:55 -0700
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>

On 2020-11-28 01:08, Basin Ilya via Cygwin wrote:
> Actually I have nothing to add to the subject. blockdev.exe missing in 
> util-linux. How to determine block device size in bash?
$ cat /proc/partitions
major minor  #blocks  name   win-mounts

     8     0 976762584 sda
     8     1     16384 sda1
     8     2 976744448 sda2   C:\
     8    16 976762584 sdb
     8    17    131072 sdb1
     8    18    102400 sdb2
     8    19 975482161 sdb3   D:\
     8    20    577536 sdb4
     8    21    465920 sdb5
     8    32         0 sdc

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple