This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing partitions under /dev


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ÂVirtualbox. The device has more partitions that those
> shown underÂ/dev on Cygwin as shows:
> 
> ls /dev/sdc*
> /dev/sdc  /dev/sdc10 Â/dev/sdc12 Â/dev/sdc14 Â/dev/sdc2Â
> /dev/sdc4 Â/dev/sdc6 Â/dev/sdc8Â/dev/sdc1 Â/dev/sdc11Â/dev/sdc13Â
> /dev/sdc15 Â/dev/sdc3 Â/dev/sdc5 Â/dev/sdc7 Â/dev/sdc9
> 
> However:
> 
> $ /sbin/fdisk.exe -l /dev/sdc
> 
> Disk /dev/sdc: 29.1 GiB, 31268536320 bytes, 61071360 sectors
> Units: sectors of 1 * 512 = 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)
> 
> Device    ÂStart   ÂEnd ÂSectors ÂSize Type
> /dev/sdc1 Â Â 32768 Â 163839 Â 131072 Â 64M Microsoft basic data
> /dev/sdc2 Â Â163840 Â 165887 Â Â 2048 Â Â1M unknown
> /dev/sdc3 Â Â165888 Â 166911 Â Â 1024 Â512K unknown
> /dev/sdc4 Â Â196608 Â 197631 Â Â 1024 Â512K unknown
> /dev/sdc5 Â Â229376 Â 231423 Â Â 2048 Â Â1M unknown
> /dev/sdc6 Â Â231424 Â 233471 Â Â 2048 Â Â1M unknown
> /dev/sdc7 Â Â262144 Â 294911 Â Â32768 Â 16M unknown
> /dev/sdc8 Â Â294912 Â 296959 Â Â 2048 Â Â1M unknown
> /dev/sdc9 Â Â296960 Â 296961 Â Â Â Â2 Â Â1K Microsoft basic data
> /dev/sdc10 Â 327680 Â 333823 Â Â 6144 Â Â3M unknown
> /dev/sdc11 Â 333824 Â 339967 Â Â 6144 Â Â3M unknown
> /dev/sdc12 Â 339968 Â 339969 Â Â Â Â2 Â Â1K unknown
> /dev/sdc13 Â 360448 Â 393215 Â Â32768 Â 16M unknown
> /dev/sdc14 Â 393216 Â 458751 Â Â65536 Â 32M Microsoft basic data
> /dev/sdc15 Â 458752 Â 491519 Â Â32768 Â 16M unknown
> /dev/sdc16 Â 491520 Â 497663 Â Â 6144 Â Â3M unknown
> /dev/sdc17 Â 524288 Â 525311 Â Â 1024 Â512K unknown
> /dev/sdc18 Â 525312 Â 526335 Â Â 1024 Â512K unknown
> /dev/sdc19 Â 526336 Â 526337 Â Â Â Â2 Â Â1K unknown
> /dev/sdc20 Â 526338 Â 527361 Â Â 1024 Â512K unknown
> /dev/sdc21 Â 557056 Â 573439 Â Â16384 Â Â8M Microsoft basic data
> /dev/sdc22 Â 573440 Â 589823 Â Â16384 Â Â8M Microsoft basic data
> /dev/sdc23 Â 589824 Â 655359 Â Â65536 Â 32M unknown
> /dev/sdc24 Â 655360 Â 720895 Â Â65536 Â 32M unknown
> /dev/sdc25 Â 720896 Â 786431 Â Â65536 Â 32M Microsoft basic data
> /dev/sdc26 Â 786432 Â 787455 Â Â 1024 Â512K unknown
> /dev/sdc27 Â 787456 Â 789503 Â Â 2048 Â Â1M unknown
> /dev/sdc28 Â 789504 Â 791551 Â Â 2048 Â Â1M unknown
> /dev/sdc29 Â 791552 Â 791567 Â Â Â 16 Â Â8K unknown
> /dev/sdc30 Â 819200 Â6488063 Â5668864 Â2.7G Microsoft basic data
> /dev/sdc31 Â6488064 Â7733247 Â1245184 Â608M Microsoft basic data
> /dev/sdc32 Â7733248 Â7897087 Â 163840 Â 80M Microsoft basic data
> /dev/sdc33 Â7897088 Â7929855 Â Â32768 Â 16M Microsoft basic data
> /dev/sdc34 Â7929856 Â8028159 Â Â98304 Â 48M Microsoft basic data
> /dev/sdc35 Â8028160 60948479 52920320 25.2G Microsoft basic data
> /dev/sdc36 60948480 61071326 Â 122847 Â 60M Microsoft basic data
> 
> I would like to access partitions that are listed by fdisk but aren't under /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

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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]