delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/10/06:00:55

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=NKRfiqjkRyplWGGRlc33xZ/3k+MGs3ON8yI9AJ1IyDxUjCm1Fj35g
glPjDrx9jqhiqdUu7lbx9mKltyEMw40q4Mclk6FW85cfgohhaLcCVOFJauYT8ly+
sUPNn/cL7Erz9lmeuGBub8oxq0HrnKA5nptzNuJdIGEW+x/VLqHL6I=
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=dzaeleX14S0bb3rDqWC2M5RbhIM=; b=hku42/2Zb9wdClWXOWNgu09mfC+U
/mPdhHjACDvh5FjypRmnnQbylHuaMc8gHos5JWDomq86QL8VIECxtJAjOXqow3Dc
1LGx55ss5OA21lcbxbgz/Ksa13pm9cIx92foOdjgDn277c5lLFzzfrt9FZdnf+Tx
S8Ord1S5NadSJKo=
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=-94.0 required=5.0 tests=AWL,BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,UNSUBSCRIBE_BODY autolearn=ham version=3.3.2 spammy=Sector, sectors, Units, Disk
X-HELO: calimero.vinschen.de
Date: Fri, 10 Jun 2016 12:00:27 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: missing partitions under /dev
Message-ID: <20160610100027.GD15058@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>
MIME-Version: 1.0
In-Reply-To: <DUB126-W13603CEE9C8DCEF7F84AE5CE5F0@phx.gbl>
User-Agent: Mutt/1.6.1 (2016-04-27)

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

On Jun  9 17:57, Aaron Schneider wrote:
> I've connected a LG G2 via usb to the computer which shows as
> "LG Electronics Inc. QHUSB_BULK" on Vmware workstation and
> Oracle=C2=A0Virtualbox. The device has more partitions that those
> shown under=C2=A0/dev on Cygwin as shows:
>=20
> ls /dev/sdc*
> /dev/sdc =C2=A0 /dev/sdc10 =C2=A0/dev/sdc12 =C2=A0/dev/sdc14 =C2=A0/dev/s=
dc2=C2=A0
> /dev/sdc4 =C2=A0/dev/sdc6 =C2=A0/dev/sdc8=C2=A0/dev/sdc1 =C2=A0/dev/sdc11=
=C2=A0/dev/sdc13=C2=A0
> /dev/sdc15 =C2=A0/dev/sdc3 =C2=A0/dev/sdc5 =C2=A0/dev/sdc7 =C2=A0/dev/sdc9
>=20
> However:
>=20
> $ /sbin/fdisk.exe -l /dev/sdc
>=20
> Disk /dev/sdc: 29.1 GiB, 31268536320 bytes, 61071360 sectors
> Units: sectors of 1 * 512 =3D 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: gpt
> Disk identifier: (removed)
>=20
> Device =C2=A0 =C2=A0 =C2=A0 =C2=A0Start =C2=A0 =C2=A0 =C2=A0End =C2=A0Sec=
tors =C2=A0Size Type
> /dev/sdc1 =C2=A0 =C2=A0 32768 =C2=A0 163839 =C2=A0 131072 =C2=A0 64M Micr=
osoft basic data
> /dev/sdc2 =C2=A0 =C2=A0163840 =C2=A0 165887 =C2=A0 =C2=A0 2048 =C2=A0 =C2=
=A01M unknown
> /dev/sdc3 =C2=A0 =C2=A0165888 =C2=A0 166911 =C2=A0 =C2=A0 1024 =C2=A0512K=
 unknown
> /dev/sdc4 =C2=A0 =C2=A0196608 =C2=A0 197631 =C2=A0 =C2=A0 1024 =C2=A0512K=
 unknown
> /dev/sdc5 =C2=A0 =C2=A0229376 =C2=A0 231423 =C2=A0 =C2=A0 2048 =C2=A0 =C2=
=A01M unknown
> /dev/sdc6 =C2=A0 =C2=A0231424 =C2=A0 233471 =C2=A0 =C2=A0 2048 =C2=A0 =C2=
=A01M unknown
> /dev/sdc7 =C2=A0 =C2=A0262144 =C2=A0 294911 =C2=A0 =C2=A032768 =C2=A0 16M=
 unknown
> /dev/sdc8 =C2=A0 =C2=A0294912 =C2=A0 296959 =C2=A0 =C2=A0 2048 =C2=A0 =C2=
=A01M unknown
> /dev/sdc9 =C2=A0 =C2=A0296960 =C2=A0 296961 =C2=A0 =C2=A0 =C2=A0 =C2=A02 =
=C2=A0 =C2=A01K Microsoft basic data
> /dev/sdc10 =C2=A0 327680 =C2=A0 333823 =C2=A0 =C2=A0 6144 =C2=A0 =C2=A03M=
 unknown
> /dev/sdc11 =C2=A0 333824 =C2=A0 339967 =C2=A0 =C2=A0 6144 =C2=A0 =C2=A03M=
 unknown
> /dev/sdc12 =C2=A0 339968 =C2=A0 339969 =C2=A0 =C2=A0 =C2=A0 =C2=A02 =C2=
=A0 =C2=A01K unknown
> /dev/sdc13 =C2=A0 360448 =C2=A0 393215 =C2=A0 =C2=A032768 =C2=A0 16M unkn=
own
> /dev/sdc14 =C2=A0 393216 =C2=A0 458751 =C2=A0 =C2=A065536 =C2=A0 32M Micr=
osoft basic data
> /dev/sdc15 =C2=A0 458752 =C2=A0 491519 =C2=A0 =C2=A032768 =C2=A0 16M unkn=
own
> /dev/sdc16 =C2=A0 491520 =C2=A0 497663 =C2=A0 =C2=A0 6144 =C2=A0 =C2=A03M=
 unknown
> /dev/sdc17 =C2=A0 524288 =C2=A0 525311 =C2=A0 =C2=A0 1024 =C2=A0512K unkn=
own
> /dev/sdc18 =C2=A0 525312 =C2=A0 526335 =C2=A0 =C2=A0 1024 =C2=A0512K unkn=
own
> /dev/sdc19 =C2=A0 526336 =C2=A0 526337 =C2=A0 =C2=A0 =C2=A0 =C2=A02 =C2=
=A0 =C2=A01K unknown
> /dev/sdc20 =C2=A0 526338 =C2=A0 527361 =C2=A0 =C2=A0 1024 =C2=A0512K unkn=
own
> /dev/sdc21 =C2=A0 557056 =C2=A0 573439 =C2=A0 =C2=A016384 =C2=A0 =C2=A08M=
 Microsoft basic data
> /dev/sdc22 =C2=A0 573440 =C2=A0 589823 =C2=A0 =C2=A016384 =C2=A0 =C2=A08M=
 Microsoft basic data
> /dev/sdc23 =C2=A0 589824 =C2=A0 655359 =C2=A0 =C2=A065536 =C2=A0 32M unkn=
own
> /dev/sdc24 =C2=A0 655360 =C2=A0 720895 =C2=A0 =C2=A065536 =C2=A0 32M unkn=
own
> /dev/sdc25 =C2=A0 720896 =C2=A0 786431 =C2=A0 =C2=A065536 =C2=A0 32M Micr=
osoft basic data
> /dev/sdc26 =C2=A0 786432 =C2=A0 787455 =C2=A0 =C2=A0 1024 =C2=A0512K unkn=
own
> /dev/sdc27 =C2=A0 787456 =C2=A0 789503 =C2=A0 =C2=A0 2048 =C2=A0 =C2=A01M=
 unknown
> /dev/sdc28 =C2=A0 789504 =C2=A0 791551 =C2=A0 =C2=A0 2048 =C2=A0 =C2=A01M=
 unknown
> /dev/sdc29 =C2=A0 791552 =C2=A0 791567 =C2=A0 =C2=A0 =C2=A0 16 =C2=A0 =C2=
=A08K unknown
> /dev/sdc30 =C2=A0 819200 =C2=A06488063 =C2=A05668864 =C2=A02.7G Microsoft=
 basic data
> /dev/sdc31 =C2=A06488064 =C2=A07733247 =C2=A01245184 =C2=A0608M Microsoft=
 basic data
> /dev/sdc32 =C2=A07733248 =C2=A07897087 =C2=A0 163840 =C2=A0 80M Microsoft=
 basic data
> /dev/sdc33 =C2=A07897088 =C2=A07929855 =C2=A0 =C2=A032768 =C2=A0 16M Micr=
osoft basic data
> /dev/sdc34 =C2=A07929856 =C2=A08028159 =C2=A0 =C2=A098304 =C2=A0 48M Micr=
osoft basic data
> /dev/sdc35 =C2=A08028160 60948479 52920320 25.2G Microsoft basic data
> /dev/sdc36 60948480 61071326 =C2=A0 122847 =C2=A0 60M Microsoft basic data
>=20
> I would like to access partitions that are listed by fdisk but aren't und=
er /dev.
> How can I do, for example to use dd to read from or write to one of those
> "hidden" partitions?

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
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--IMjqdzrDRly81ofr
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIcBAEBCAAGBQJXWo+7AAoJEPU2Bp2uRE+gKvwP/jgvIaPKBRAt5J+V5EtXUcrU
bbAT3nK6EmNcUdAZmNWHi8rrYQUeWHAAmG9NiXDXqBQi51Z2LSGXJxOTcXP39HYQ
F5yHPzvVSjdXsajvELhDB/t+T5RwbJgZQiaIcDUbQDoqDKVG5i3xI9ei37/hEau0
xqmeazMzUoUOkBIn2/0DwMrwVQmVrMJJ0Bp88ttj0avva9cniTO1IA5LGisCv9pk
FJk/aCg0HN3IAEfxJDvYFYtToV8JvDKHp+EBtwtj9XGDANcrMVdCgV0I3fe5sCMu
UYgaV4V2kw6x46k0NfvQQ/rX3aCREk75EaeViB23cT0FsgDXrVGLT+sgxYPImoOQ
h5fMTrbWXnnCe/+rQ/5xOs5QSXuzXRj36qZJe21dSic+lSer5ASr5tBlC5T46dto
HYom754dkrWBkSkX6t7gpu1ka2h3rrOw797pB6zKxJWE1w0NQDpf4B4qWPPp+JMY
UNwQ8nCo+XIoNRu1XczG0GjvQsvvo3jnqnsOgKQp2/wbJjWRrYLoSGsvoFeL4LMK
+PSqh/Tw5W3faiR8r0N9yln1f+yLmbilEqnNPyizVeTLMV/RwhJr1CzAVZclhaig
v2hxxnVQACPI8sUnG8VA6VeKZCawanLvIdY+et9eKQ9cqcvLdoQXqrhHQCByGVsK
PKSTy+hvtx/gLt7LyFLu
=ElcG
-----END PGP SIGNATURE-----

--IMjqdzrDRly81ofr--

- Raw text -


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