public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /proc/partitions changed ?
@ 2019-01-20 16:28 Marco Atzeri
  2019-01-20 17:51 ` Henry S. Thompson
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Atzeri @ 2019-01-20 16:28 UTC (permalink / raw)
  To: cygwin

In the past I saw

$ cat /proc/partitions
major minor  #blocks  name   win-mounts

     8     0 175825944 sda
     8     1 175824896 sda1   C:\
     8    16 1953514582 sdb
     8    17 1953512448 sdb1   E:\

but now the win-mounts version are missing

$ cat /proc/partitions
major minor  #blocks  name   win-mounts

     8     0         0 sda
     8    16         0 sdb

Is somthing changed on that portion of info ?

Regards
Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-20 16:28 /proc/partitions changed ? Marco Atzeri
@ 2019-01-20 17:51 ` Henry S. Thompson
  2019-01-20 18:05   ` Marco Atzeri
  0 siblings, 1 reply; 9+ messages in thread
From: Henry S. Thompson @ 2019-01-20 17:51 UTC (permalink / raw)
  To: cygwin

Marco Atzeri writes:

> In the past I saw
> ...
> but now the win-mounts version are missing
>
> $ cat /proc/partitions
> major minor  #blocks  name   win-mounts
>
>     8     0         0 sda
>     8    16         0 sdb
>
> Is somthing changed on that portion of info ?

Still works for me
 Cygwin DLL version: 2.10.0;
 Windows 10 Professional N Ver 10.0 Build 17134
> cat /proc/partitions
major minor  #blocks  name   win-mounts

    8     0 488386584 sda
    8     1    131072 sda1
    8     2    307200 sda2
    8     3    102400 sda3
    8     4 358957056 sda4   C:\
    8     5    887808 sda5
    8     6 128000000 sda6   F:\
    8    16 488386584 sdb
    8    17     16367 sdb1
    8    18 488369152 sdb2   H:\

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-20 17:51 ` Henry S. Thompson
@ 2019-01-20 18:05   ` Marco Atzeri
  2019-01-20 18:21     ` Achim Gratz
  2019-01-20 18:36     ` Eliot Moss
  0 siblings, 2 replies; 9+ messages in thread
From: Marco Atzeri @ 2019-01-20 18:05 UTC (permalink / raw)
  To: cygwin

Am 20.01.2019 um 18:51 schrieb Henry S. Thompson:
> Marco Atzeri writes:
>
>> In the past I saw
>> ...
>> but now the win-mounts version are missing
>>
>> $ cat /proc/partitions
>> major minor  #blocks  name   win-mounts
>>
>>      8     0         0 sda
>>      8    16         0 sdb
>>
>> Is somthing changed on that portion of info ?
>
> Still works for me
>   Cygwin DLL version: 2.10.0;

Thanks for checking

or Windows 10 is changed or does not work
at least from 2.11.0.

Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-20 18:05   ` Marco Atzeri
@ 2019-01-20 18:21     ` Achim Gratz
  2019-01-20 18:36     ` Eliot Moss
  1 sibling, 0 replies; 9+ messages in thread
From: Achim Gratz @ 2019-01-20 18:21 UTC (permalink / raw)
  To: cygwin

Marco Atzeri writes:
> Thanks for checking
>
> or Windows 10 is changed or does not work
> at least from 2.11.0.

~ (2001) cat /proc/partitions
major minor  #blocks  name   win-mounts

    8     0 244198584 sda
    8     1    131072 sda1
    8     2 244066304 sda2   D:\
    8    16  62516809 sdb
    8    17    358400 sdb1  
    8    18  55550976 sdb2   C:\
    8    19    460800 sdb3  
    8    20   6144000 sdb4  
~ (2002) uname -a
CYGWIN_NT-10.0 CygwinX 2.11.2(0.329/5/3) 2018-11-08 14:34 x86_64 Cygwin


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-20 18:05   ` Marco Atzeri
  2019-01-20 18:21     ` Achim Gratz
@ 2019-01-20 18:36     ` Eliot Moss
  2019-01-20 19:49       ` Marco Atzeri
  1 sibling, 1 reply; 9+ messages in thread
From: Eliot Moss @ 2019-01-20 18:36 UTC (permalink / raw)
  To: cygwin

On 1/20/2019 1:05 PM, Marco Atzeri wrote:
> Am 20.01.2019 um 18:51 schrieb Henry S. Thompson:
>> Marco Atzeri writes:
>>
>>> In the past I saw
>>> ...
>>> but now the win-mounts version are missing
>>>
>>> $ cat /proc/partitions
>>> major minor  #blocks  name   win-mounts
>>>
>>>      8     0         0 sda
>>>      8    16         0 sdb
>>>

I have:

cygwin DLL version 2.11.2-1
Windows 10 Pro 1709 (Build 16299.846)

So all pretty recent, and it works fine for me.

Regards - Eliot Moss

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-20 18:36     ` Eliot Moss
@ 2019-01-20 19:49       ` Marco Atzeri
  2019-01-21  8:40         ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Atzeri @ 2019-01-20 19:49 UTC (permalink / raw)
  To: cygwin

Am 20.01.2019 um 19:36 schrieb Eliot Moss:
> On 1/20/2019 1:05 PM, Marco Atzeri wrote:
>> Am 20.01.2019 um 18:51 schrieb Henry S. Thompson:
>>> Marco Atzeri writes:
>>>
>>>> In the past I saw
>>>> ...
>>>> but now the win-mounts version are missing
>>>>
>>>> $ cat /proc/partitions
>>>> major minor  #blocks  name   win-mounts
>>>>
>>>>      8     0         0 sda
>>>>      8    16         0 sdb
>>>>
> 
> I have:
> 
> cygwin DLL version 2.11.2-1
> Windows 10 Pro 1709 (Build 16299.846)
> 
> So all pretty recent, and it works fine for me.
> 
> Regards - Eliot Moss
> 

Windows 10 Home
Version 1803

so or it is Windows or is a BLODA effect



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-20 19:49       ` Marco Atzeri
@ 2019-01-21  8:40         ` Corinna Vinschen
  2019-01-21 15:04           ` Marco Atzeri
  0 siblings, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2019-01-21  8:40 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

Hi Marco,

On Jan 20 20:48, Marco Atzeri wrote:
> Am 20.01.2019 um 19:36 schrieb Eliot Moss:
> > On 1/20/2019 1:05 PM, Marco Atzeri wrote:
> > > Am 20.01.2019 um 18:51 schrieb Henry S. Thompson:
> > > > Marco Atzeri writes:
> > > > 
> > > > > In the past I saw
> > > > > ...
> > > > > but now the win-mounts version are missing
> > > > > 
> > > > > $ cat /proc/partitions
> > > > > major minor  #blocks  name   win-mounts
> > > > > 
> > > > >      8     0         0 sda
> > > > >      8    16         0 sdb
> > > > > 
> > 
> > I have:
> > 
> > cygwin DLL version 2.11.2-1
> > Windows 10 Pro 1709 (Build 16299.846)
> > 
> > So all pretty recent, and it works fine for me.
> > 
> > Regards - Eliot Moss
> > 
> 
> Windows 10 Home
> Version 1803
> 
> so or it is Windows or is a BLODA effect

As for the others, WFFM on W10 Enterprise 1809 with the latest
Cygwin snapshot code.  I'd bet on BLODA.  Alternatively this may be
permission problem of some sort.

Can you please run this command under strace and send the strace output?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-21  8:40         ` Corinna Vinschen
@ 2019-01-21 15:04           ` Marco Atzeri
  2019-01-21 17:16             ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Atzeri @ 2019-01-21 15:04 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2104 bytes --]

Am 21.01.2019 um 09:39 schrieb Corinna Vinschen:
> Hi Marco,
> 
> On Jan 20 20:48, Marco Atzeri wrote:
>> Am 20.01.2019 um 19:36 schrieb Eliot Moss:
>>> On 1/20/2019 1:05 PM, Marco Atzeri wrote:
>>>> Am 20.01.2019 um 18:51 schrieb Henry S. Thompson:
>>>>> Marco Atzeri writes:
>>>>>
>>>>>> In the past I saw
>>>>>> ...
>>>>>> but now the win-mounts version are missing
>>>>>>
>>>>>> $ cat /proc/partitions
>>>>>> major minor  #blocks  name   win-mounts
>>>>>>
>>>>>>       8     0         0 sda
>>>>>>       8    16         0 sdb
>>>>>>
>>>
>>> I have:
>>>
>>> cygwin DLL version 2.11.2-1
>>> Windows 10 Pro 1709 (Build 16299.846)
>>>
>>> So all pretty recent, and it works fine for me.
>>>
>>> Regards - Eliot Moss
>>>
>>
>> Windows 10 Home
>> Version 1803
>>
>> so or it is Windows or is a BLODA effect
> 
> As for the others, WFFM on W10 Enterprise 1809 with the latest
> Cygwin snapshot code.  I'd bet on BLODA.  Alternatively this may be
> permission problem of some sort.
> 
> Can you please run this command under strace and send the strace output?
> 
> 
> Thanks,
> Corinna

attached the strace of  cat /proc/partitions

I guess my AV is blocking access to the partitions, also when
I am running as Administrator.

format_proc_partitions: DeviceIoControl (Harddisk0\Partition0, 
IOCTL_DISK_GET_PARTITION_INFO{_EX}) Win32 error 5

However the info is available in other way

$ cygpath -w /dev/sda
\\.\Disk{ba1707c6-547e-6b0e-d636-d2fa8ccffbf6}

$ cygpath -w /dev/sda1
\\.\D:

$ cygpath -w /dev/sda2
\\.\E:

$ cygpath -w /dev/sdb
\\.\Disk{bc009825-d60f-a0b9-e64e-040b8fa61f4c}

$ cygpath -w /dev/sdb1
\\.\STORAGE#Volume#{b725cac0-3d30-11e8-b177-806e6f6e6963}#0000000000100000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}

$ cygpath -w /dev/sdb2
\\.\STORAGE#Volume#{b725cac0-3d30-11e8-b177-806e6f6e6963}#0000000010500000#{7f108a28-9833-4b3b-b780-2c6b5fa5c062}

$ cygpath -w /dev/sdb3
\\.\C:



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

[-- Attachment #2: cat-partitions.strace.gz --]
[-- Type: application/x-gzip, Size: 8187 bytes --]

[-- Attachment #3: Type: text/plain, Size: 219 bytes --]


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: /proc/partitions changed ?
  2019-01-21 15:04           ` Marco Atzeri
@ 2019-01-21 17:16             ` Corinna Vinschen
  0 siblings, 0 replies; 9+ messages in thread
From: Corinna Vinschen @ 2019-01-21 17:16 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2127 bytes --]

On Jan 21 16:03, Marco Atzeri wrote:
> Am 21.01.2019 um 09:39 schrieb Corinna Vinschen:
> > Hi Marco,
> > 
> > On Jan 20 20:48, Marco Atzeri wrote:
> > > Am 20.01.2019 um 19:36 schrieb Eliot Moss:
> > > > On 1/20/2019 1:05 PM, Marco Atzeri wrote:
> > > > > Am 20.01.2019 um 18:51 schrieb Henry S. Thompson:
> > > > > > Marco Atzeri writes:
> > > > > > 
> > > > > > > In the past I saw
> > > > > > > ...
> > > > > > > but now the win-mounts version are missing
> > > > > > > 
> > > > > > > $ cat /proc/partitions
> > > > > > > major minor  #blocks  name   win-mounts
> > > > > > > 
> > > > > > >       8     0         0 sda
> > > > > > >       8    16         0 sdb
> > > > > > > 
> > > Windows 10 Home
> > > Version 1803
> > > 
> > > so or it is Windows or is a BLODA effect
> > 
> > As for the others, WFFM on W10 Enterprise 1809 with the latest
> > Cygwin snapshot code.  I'd bet on BLODA.  Alternatively this may be
> > permission problem of some sort.
> > 
> > Can you please run this command under strace and send the strace output?
> > 
> > 
> > Thanks,
> > Corinna
> 
> attached the strace of  cat /proc/partitions
> 
> I guess my AV is blocking access to the partitions, also when
> I am running as Administrator.
> 
> format_proc_partitions: DeviceIoControl (Harddisk0\Partition0,
> IOCTL_DISK_GET_PARTITION_INFO{_EX}) Win32 error 5

That's the problem.  Due to this, the info for the partition isn't
printed at all.

> However the info is available in other way
> 
> $ cygpath -w /dev/sda
> \\.\Disk{ba1707c6-547e-6b0e-d636-d2fa8ccffbf6}
> 
> $ cygpath -w /dev/sda1
> \\.\D:

That's not the same thing.  This information *would* be available, but
it's only fetched if the partition info could be fetched.  What's
actually missing is access to the partitions and their size, not access
to the mount points to partitions.  That's why you only see sda and sdb,
but not any one of the partitions.  I don't see how to print
/proc/partitions correctly without this info.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-01-21 17:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-20 16:28 /proc/partitions changed ? Marco Atzeri
2019-01-20 17:51 ` Henry S. Thompson
2019-01-20 18:05   ` Marco Atzeri
2019-01-20 18:21     ` Achim Gratz
2019-01-20 18:36     ` Eliot Moss
2019-01-20 19:49       ` Marco Atzeri
2019-01-21  8:40         ` Corinna Vinschen
2019-01-21 15:04           ` Marco Atzeri
2019-01-21 17:16             ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).