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=cPPA1MtfocXnPptNLRc1HVGxqa3HYwsvfcltUvivyTC9M1doY+Lk9 6BtPAwHOOsC62EP16mTnirydJudgLaOyh8YASJHtTMpo9sERxJpIc44G4UIk0LoP 630dmyKwk4lPALwHlct+cpe5dibGwz7kACjZtJuCFsMNSBgioqpdkY= 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=pu/MIsS60vwemoPmd1bvSEhJ8D4=; b=H+Iw90dSKykqg55GJ1vUBa1EUwcC E9Gd8vfWUf0KXBO9LjCVdvMy9WynvZ8y5XavAzZr2D2FkEK8D4iGc6Cj0TL+Q1EO zWox4i1/LTv1sLj+hq21TB7qNIPOWMlU140cq4Z6q9bvSwpC2RiZsA8csizO9yWi WS7bzuqemLaTJWU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=Amazing, amazing X-HELO: calimero.vinschen.de Date: Fri, 10 Jun 2016 21:45:39 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: missing partitions under /dev Message-ID: <20160610194539.GI15058@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20160610100027 DOT GD15058 AT calimero DOT vinschen DOT de> <20160610185159 DOT GH15058 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="64j1qyTOoGvYcHb1" Content-Disposition: inline In-Reply-To: <20160610185159.GH15058@calimero.vinschen.de> User-Agent: Mutt/1.6.1 (2016-04-27) --64j1qyTOoGvYcHb1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 y= et. > > > 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. > Amazing but true, about 20% of > the object file is just this trie code and its data, whihc, Uh, this sentence makes no sense. Let's try again: Amazing but true, about 20% of the Cygwin DLL size is just this device parser code and its data, which... > 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. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --64j1qyTOoGvYcHb1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXWxjiAAoJEPU2Bp2uRE+gQe4P/2GwrxIvsBzAp4nzIRDejETz YeB5NLskosEtldUbMT04QV6NiNGS0dRB7chcHX5POJiuI5JKWtMbaVv/Nit++RIg XICbQXAiQT/+EeTisfwTdnbQnab7mxRPrTtjDouzxwkuty0ZhtN2+9Acj0UBFhiJ rW3t7d2dUkI1+ola0RA05dBj7eD/G/Bbf4I7PmlFbWF/Hf1yGxLCdvyNczLP6GQu ZaA1ZoMeBC8loDqJrqff2V9JSZhekKOSYhmqi2cuXm09OUjdZnQKcMi1kiYfJzzZ nd8Fr1X39KOXCy2G1kCln5COwc5KUF6mVqSrlzlJi1NoG62F+/IADNbMWt9Yl8Ot Lrn4HljgLzin5lOA4aDSAD0U46++cHfnmY1C4Zid9s4ysm6wRExK/23ybIptI2ER YHj5sB+hY4NRujeGEpsXgiQr5q+UxyQLb70kf8dZkLWY2JjTGuaqQ3csBMKz02Jh tYQLiFnLvz2OUP7yM2wuf9C/3PF9uBhr5adDlhHs54n8vqTPcpWHiV+9MLixIJ1g gkV3XeSMXox/HIG/jAlEaQHo+5VIi0CTKBSP5LDtRMJubzo+XNpo3m3qBxRBhJIB ucDikLxmGkuTTe69o2T+0yw8z/YixNsmWCZJewVTCV0MFgiqIi7yGcKtRL2k/+ci WcAOX2M+Tuoisk+vPs/e =DEee -----END PGP SIGNATURE----- --64j1qyTOoGvYcHb1--