Seeing double in /proc/partitions (Win 7 Home)

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Mon Aug 2 18:13:24 GMT 2021


On 2021-08-02 09:04, Anton Lavrentiev wrote:
>> Just paste it into your mail text.

> I posted links to the screenshot images on my G-drive...  I can't
> post them into text as they are graphical
Under Cygwin you can also list from an elevated admin shell under 
/proc/sys (add Cygwin bin to an elevated cmd PATH) e.g.:

> ls -dglo /proc/sys/Device/Harddisk[0-9]*/*
> brw-rw-rw- 1 284, 9999 Aug  2 12:04 /proc/sys/Device/Harddisk0/DR0
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk0/Partition0 -> /proc/sys/Device/Harddisk0/DR0
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk0/Partition1 -> /proc/sys/Device/HarddiskVolume1
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk0/Partition2 -> /proc/sys/Device/HarddiskVolume2
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk0/Partition3 -> /proc/sys/Device/HarddiskVolume3
> brw-rw-rw- 1 284, 9999 Aug  2 12:04 /proc/sys/Device/Harddisk1/DR1
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk1/Partition0 -> /proc/sys/Device/Harddisk1/DR1
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk1/Partition1 -> /proc/sys/Device/HarddiskVolume4
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk1/Partition2 -> /proc/sys/Device/HarddiskVolume5
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk1/Partition3 -> /proc/sys/Device/HarddiskVolume6
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk1/Partition4 -> /proc/sys/Device/HarddiskVolume7
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk1/Partition5 -> /proc/sys/Device/HarddiskVolume8
> brw-rw-rw- 1 284, 9999 Aug  2 12:04 /proc/sys/Device/Harddisk2/DR2
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk2/Partition0 -> /proc/sys/Device/Harddisk2/DR2
> lr--r--r-- 1         0 Aug  2 12:04 /proc/sys/Device/Harddisk2/Partition1 -> /proc/sys/Device/HarddiskVolume9

-- 
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.]


More information about the Cygwin mailing list