delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/11/11:34:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=dqLrMTVGTBroFyXsAX26BAu9Vs4hegUgeSxBh1XNQwFE66N/KKOMj
HPOw/MjNQtDKVEjyo/53ZfQOjHsGyludNUOz1pgMPZWpRLTUqfWdvDq/8ImTRwaT
c28joF6J9mVNCknYoayaKHZGFZF2BuQbW+2d3mRGPfGCwsxPXZ+3Dk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=U2RmIWMejyoOjXrR3x9Sa4OYY6g=; b=m5s9uNFPPw/Af8EJtmR0jYm2CfSW
UmVpeuVqhJ2h8T5DtxWrBqH4/Afz+3cdZOdgy4DluvtcaJL7dhKBJjwmJLSjyuNe
48bL5cjn8Mv7R1dD54apwQgKYx1nRllvz5YxPHVmAFWJvnsdQWUnJ9wuZatRm17w
z0kmy/gAAiWZEAk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 11 Nov 2015 17:33:59 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Documentation problem with the UG - POSIX devices?
Message-ID: <20151111163359.GA11582@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6CF2FC1279D0844C9357664DC5A08BA21BBF85BD AT msgb09 DOT nih DOT gov>
MIME-Version: 1.0
In-Reply-To: <6CF2FC1279D0844C9357664DC5A08BA21BBF85BD@msgb09.nih.gov>
User-Agent: Mutt/1.5.23 (2014-03-12)

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 11 16:22, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixd=
evices
>=20
> In the paragraph starting "Block devices are accessible ..."
>=20
> "... or the first partition on the third harddisk is \device\harddisk2\pa=
rtition1."
>=20
> 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 -> /pro=
c/sys/Device/Harddisk0/DR0
  $ ls -l /proc/sys/GLOBAL\?\? | grep DR0
  lr--r--r-- 1 Administrators SYSTEM        0 Nov 11 17:32 Disk{2b5b33fa-71=
85-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

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

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWQ233AAoJEPU2Bp2uRE+g2lwQAIXWm9Of8ttNFCny8ZPB5P6U
8qmRtSwsdLnLL64ivAljy+G1MXb+a23XsLihtqyqNVMVYrjl/UW6JeAYoXm9vXlg
H/AWuVTgUagT7VW8/sCDlOf8LxUN0lD92FDXU09+ry+fSL255+hAPKYi+Fxu3tew
dW8JdCWvItjklOB8FIk6/mdBXVmQNhg1SMNB1/1tX+znbSo3E2+YmXRb5FoFjfrb
pFVuZOEjtz/2pvU3hjJgFFC01ytflbUpls1skoZiaBamddwnX3KQpgZ4ww+3MkjU
yJoAqln++eAgd9smOe5Fn6sJee7uBLQHRZFdR4QCTbp1hukm6ha+geu1CqdUkPGK
bZHJ+Mqo7i9v7c9WCIEuKV/1HC3WJMaUh5hoYgJmQKu6F7SCgPv3njVb1DNPiJ7H
Ab/qCwkPZybrc6ZSy68VRUwKtjbIR8IHsqrO+ARkKhRJ41+DXivvzPxmMEZJntdD
3GmOf2yPCzIWJ963hXMxguUA2LVMrBhyEexF78u/SIDvL+lHqzQrJ7DJ2Lopb3X+
dgk48zTr+Zj6KmlrWDAxxlPXIz3/qUAkEMCIIZeoGYO02U0og5NOhUZiVjIld9ie
PqHuZL/hEKTbkQH93TohqCL9XJeY+Z0emo9wDRtYqmOyyiX04NIzuQ6hmQZMcDTV
av6/rS6QnBfX1XcYtM/b
=Chtr
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019