public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: /proc/partitions changed ?
Date: Mon, 21 Jan 2019 17:16:00 -0000	[thread overview]
Message-ID: <20190121171556.GG2802@calimero.vinschen.de> (raw)
In-Reply-To: <6b17df27-8511-016c-878c-d90f1899fb3f@gmail.com>

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

      reply	other threads:[~2019-01-21 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-20 16:28 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190121171556.GG2802@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).