delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/10/14:52:26

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=VAwNec4Tj1xAquv8Zpzp/ziVjAzm4wA0QsedgBfotBoIjZeciH2ix
oaXwAHdhIh4wuf2v0v9SPPk1vtDLtgg6iv0nrEDgrjs5k6ksoKVscPWHTS55gjqE
dVO8WFBb620TNXf2VU2vJ+AFW2YWAm9kgt7Opd//aUEBaKVIde15Kc=
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=8h5Nhw0NUHTDevPGwxJJfEnyxIk=; b=pIAAgXL2EA2Bgio3c+NFJIX1x/bR
hBk0IVY62NalvDR0y3PhT889Nvwn6jRr6nBBLFUSLgjVVdFqG+rsidOqqOTOzpI0
Fid3mx3FtJXRgnZTf5qEjS47OoM1JE6whpSjB8jZV8MfHPP04rY48j+4z1/9nEcY
zURmbh1+sweAyMA=
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=amazing
X-HELO: calimero.vinschen.de
Date: Fri, 10 Jun 2016 20:51:59 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: missing partitions under /dev
Message-ID: <20160610185159.GH15058@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>
MIME-Version: 1.0
In-Reply-To: <DUB126-W24535F5AA8EA1BB077370CCE500@phx.gbl>
User-Agent: Mutt/1.6.1 (2016-04-27)

--6v9BRtpmy+umdQlo
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?

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.

> 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

I looked into that and theoretically the changes are small.

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, IMHO, is
already quite bad.  By adding support for partitions 16-63, this object
code gets 2.5 times bigger!

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

--6v9BRtpmy+umdQlo
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCAAGBQJXWwxPAAoJEPU2Bp2uRE+gz/sP/j8bcyzuEldolYLruLyJO0g7
Fo/UG13YNxiQ8+FTBuLoV59xHhm8TRZZRM1Gc25M4sL+C1pGpLJfRStUhGFzFbtM
GeIFX52vqiHItUmbPQGf8IHdwmd0lHG5czxIJv5U4PNl6RijnWWWEqlrXEAKIe9q
F3O59CxNIA1rIU594G0wPKQojrCZtWuBdt+Kg63vaRgNNuk5V16TUb7V3Aci3MEi
nC+IkCQVzh3F1MVPjXd+bjKPFuANVFmkqm3aKDHQQWW/i6XQVohDjhCSUANwZ5On
cFJKhiRJd5gegqN1/NZ1dpQPZ2e5qgyhH7gFWwElHpLjmZ4PZA37nWnJtU3Yr171
WGupjbGhSQ2ActWpTGVmVnei+ey3NV89RMu8nmIwgQ2kw64eze3Mm2f2PSGW02LP
kZAXcNINEhfsmdR9s5QaDE7LocPH4kbzE00wmXu2astxY5Zwa0i0ViUascOybB+m
0qKVpsm3kBVkY1ZP3FHFdv4eGPnyADF0g+wi6OqCmsgWVl2Kb0+MxyxRY0EE3IWP
eGeNiz2Z83CbM/eBWSm3xfEjrUuNbNSBo8Q9R/SVQL8DP7iHbqye7NQ0MH1mdc/6
I5bA2WzxALzzlyjjpALJx0Gvgsbku0ZgeFsciu9DfSz/Xry8h++G+Sads5ZVEYIc
yeTpR7B58p8z3vkS9YYl
=lBgb
-----END PGP SIGNATURE-----

--6v9BRtpmy+umdQlo--

- Raw text -


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