public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Documentation problem with the UG - POSIX devices?
Date: Wed, 11 Nov 2015 16:34:00 -0000	[thread overview]
Message-ID: <20151111163359.GA11582@calimero.vinschen.de> (raw)
In-Reply-To: <6CF2FC1279D0844C9357664DC5A08BA21BBF85BD@msgb09.nih.gov>

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

On Nov 11 16:22, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices
> 
> In the paragraph starting "Block devices are accessible ..."
> 
> "... or the first partition on the third harddisk is \device\harddisk2\partition1."
> 
> Shouldn't partition1 be the second partition, not the first?

No.  partition0 is a symlink pointing to DR0, which in turn is the
entire physical disk.  As admin:

  $ ls -l /proc/sys/Device/Harddisk0 | grep DR0
  brwxrwx--x 1 Administrators SYSTEM 0, 250 Nov 11 17:32 DR0
  lr--r--r-- 1 Administrators SYSTEM      0 Nov 11 17:32 Partition0 -> /proc/sys/Device/Harddisk0/DR0
  $ ls -l /proc/sys/GLOBAL\?\? | grep DR0
  lr--r--r-- 1 Administrators SYSTEM        0 Nov 11 17:32 Disk{2b5b33fa-7185-944d-98ae-4ff14c0e5391} -> /proc/sys/Device/Harddisk0/DR0
  lr--r--r-- 1 Administrators SYSTEM        0 Nov 11 17:32 PhysicalDrive0 -> /proc/sys/Device/Harddisk0/DR0

So the real partitioning starts with partition1, since partition0 is a
link to the physical disk as a whole.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2015-11-11 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 16:22 Buchbinder, Barry (NIH/NIAID) [E]
2015-11-11 16:34 ` 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=20151111163359.GA11582@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).