delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/27/08:06:57

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=OjBEXNFFJwtY1/YO8Im/fmSgdeQq+QV9cNKzu/SVoyDBdLQdyiBRt
tI5xOKN9rNRVcdOsX3jM6sS6QO9ofxdQeAU9ea6JKPn33LjYAasyNGyBeQ2vL5KM
YoIv2sMy4pzH7qWfDzRGbDm53opJ+6h/2VoFVgRXVyjc7oOAazUig8=
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=TZAyawQtn1AZhu2424Ld3oz1eHM=; b=stpc2n8f1IL0fMucfmalSTjJs4YG
MoXp7SqcapQRCuhl6ljmQqO8wm3bKVQMVkq8oSFeGK+2w9dJv+Svt3vKGQW2VXNt
Gtd+WAGy9cbHMNbbsQQgyFbgTAIwYM5usf9PnGcnuEZ/vxLe5MWO83tjvu+VCQlE
UGThtdlGEwLMOw8=
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=-96.3 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=auto-generated, disk, Amazing, Hx-languages-length:2346
X-HELO: calimero.vinschen.de
Date: Mon, 27 Jun 2016 14:06:29 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: missing partitions under /dev
Message-ID: <20160627120629.GA12365@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <DUB126-W13603CEE9C8DCEF7F84AE5CE5F0 AT phx DOT gbl> <20160610100027 DOT GD15058 AT calimero DOT vinschen DOT de> <DUB126-W24535F5AA8EA1BB077370CCE500 AT phx DOT gbl> <20160610185159 DOT GH15058 AT calimero DOT vinschen DOT de> <20160610194539 DOT GI15058 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20160610194539.GI15058@calimero.vinschen.de>
User-Agent: Mutt/1.6.1 (2016-04-27)

--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Aaron,

On Jun 10 21:45, Corinna Vinschen wrote:
> On Jun 10 20:51, Corinna Vinschen wrote:
> > On Jun 10 16:59, Aaron Schneider wrote:
> > > > Date: Fri, 10 Jun 2016 12:00:27 +0200
> > > > From: corinna-cygwin AT cygwin DOT com
> > > >
> > > > Cygwin's /dev/sd* emulation doesn't support more than 15 partitions=
 yet.
> > > > This would need some rework of the device naming code.
> > > >
> > > >
> > > > Corinna
> > >=20
> > > I see. I though that it was a Windows problem that didn't provide
> > > the partitions properly to cygwin if they weren't formatted with a
> > > known filesystem or something related.=C2=A0
> > >=20
> > > Isn't any other way to access those partitions even from Windows=C2=
=A0
> > > Powershell?
> >=20
> > There may be a way even using Cygwin.  If you know which disk X it is,
> > you could try accessing it via /proc/sys/Device/HarddiskX/PartitionY.
> > No guarantee but for raw access this might be sufficient.
> >=20
> > > Is the feature to support more than 15 partition planned
> > > to=C2=A0be implemented?=20=09=09=20=09=20=20=20=09=09=20=20
> >=20
> > I looked into that and theoretically the changes are small.
> >=20
> > However, there's an undesired side-effect.  The device parser code uses
> > an auto-generated minimally pruned 0-trie, created by a tool called
> > shilka.  The problem is that the resulting object file is already very
> > big, compared to the rest of the DLL.
>=20
> > Amazing but true, about 20% of
> > the object file is just this trie code and its data, whihc,
>=20
> Uh, this sentence makes no sense.  Let's try again:
>=20
>  Amazing but true, about 20% of the Cygwin DLL size is just this device
>  parser code and its data, which...
>=20
> > IMHO, is
> > already quite bad.  By adding support for partitions 16-63, this object
> > code gets 2.5 times bigger!
> >=20
> > This is way too much, and I think what we have to do first is to=20
> > replace this autogenerated 0-trie code by some simpler, hand-written
> > parser before we can consider adding support for more partitions.

I uploaded a new snapshot to https://cygwin.com/snapshots/ which
reduces the parser size and adds support for partitions 16 to 63.
Please give it a try.

Also, please note that this snapshot won't work on XP or Server 2003
anymore.


Thanks,
Corinna

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

--82I3+IH0IqGh5yIs
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCAAGBQJXcRbFAAoJEPU2Bp2uRE+gxpYP/jFIkIg4AcVDN1KksTUiO1U4
mI1Gnd7T10yqiljJxLrrZJLnQxOOdYWEt8TxfspEkKQIdRpxZPbsbiVzX08xCn6s
qzzhL08XvTwgREFgtVRMVd8xfbXn8OoHRRjicbLVrVdodSOM0D2ZGxuuivVv5w0d
1XRQgqkGEazuoKth17WYMocwzfV2AXBpmPHhKpYaKnBRJRVc4hAVQ8uowKhBxF//
Z9TL+K89oBDnOzV+35FXSqSFzMhGTlvTe+bnFClN16sZ0VhPW0+gFsmdWv8g6hBJ
Z2rs7A29uOtifTP0Zfm6tlpJNW+xPJErZY/KzpzyRTl1fw7tBmOjnTZ4XOpF+YCI
4/FUmv5E9L1pi+bt/aN+NxkT435kLG/lC3Jgz4zUBc3rTpA5tS08tNmmRkMG+Ygw
dzAk4ib0jvBr5lnW7ihKFV813HA63ApCfvGDwwFigKLqpByg2LlmMlxlvOx616O3
4cCIvYwqhK+KvE6n7VqVUDOai4sKLQC/zy5lk0OqbdvS01oLA9C146JposIT7szj
DampD0yvqahgMIdU8W4wHHjplABFUwkumMIo9BLeO0LIMy0XU+HiHbdJ3B0Ut1M7
AZb5zKrpc0eX5rUgAHtB9UV7jy4/8EcrgNYwr/oo6syy6yDHdtzviC/BEiHBtNIf
hgd/2ryhuhEnWYZutk4a
=IzgL
-----END PGP SIGNATURE-----

--82I3+IH0IqGh5yIs--

- Raw text -


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