11/93 rebuild
Noel Chiappa
jnc at mercury.lcs.mit.edu
Tue May 28 20:39:20 CDT 2019
> From: Holm Tiffe
> You have to have an already existing parition structure on the disk and
> an OS that knows what todo with that.
The "--list" command to 'dd' gives a whole bunch of stuff:
Win32 Available Volume Information
\\.\Volume{cd4ae459-0daa-11e2-9625-806d6172696f}\
link to \\?\Device\HarddiskVolume1
fixed media
Mounted on \\.\d:
\\.\Volume{f3c65dd6-01af-11e1-a511-806d6172696f}\
link to \\?\Device\HarddiskVolume2
fixed media
Mounted on \\.\c:
\\.\Volume{f3c65dd7-01af-11e1-a511-806d6172696f}\
link to \\?\Device\CdRom0
CD-ROM
Mounted on \\.\m:
\\.\Volume{a531c21e-b869-11d9-9977-806d6172696f}\
link to \\?\Device\Floppy0
removeable media
Mounted on \\.\a:
\\.\Volume{89bdc974-217e-11e8-96f6-00038a000015}\
link to \\?\Device\Harddisk2\DP(1)0-0+7
removeable media
Mounted on \\.\e:
NT Block Device Objects
\\?\Device\CdRom0
size is 2147483647 bytes
\\?\Device\Floppy0
\\?\Device\Harddisk0\Partition0
link to \\?\Device\Harddisk0\DR0
Fixed hard disk media. Block size = 512
size is 20020396032 bytes
\\?\Device\Harddisk0\Partition1
link to \\?\Device\HarddiskVolume2
\\?\Device\Harddisk1\Partition0
link to \\?\Device\Harddisk1\DR1
Fixed hard disk media. Block size = 512
size is 10262568960 bytes
\\?\Device\Harddisk1\Partition1
link to \\?\Device\HarddiskVolume1
\\?\Device\Harddisk2\Partition0
link to \\?\Device\Harddisk2\DR6
Removable media other than floppy. Block size = 512
size is 15833497600 bytes
\\?\Device\Harddisk2\Partition1
link to \\?\Device\Harddisk2\DP(1)0-0+7
Removable media other than floppy. Block size = 512
size is 15829303296 bytes
some of which appear to be entire disks, not partitions.
Since I was trying to write into a specific area of an SD card connected via a
USB adapator, I took the path which seemed to be that of least resistance,
which was to use a partition which covered the blocks I wanted to write.
If I needed to write the boot block (which contains the partition table), I'd
have probably tried using some of the other devices in the list, but since I
didn't need to, I decided not to get diverted from my real goal by trying
other devices.
Maybe it won't work for what he needs to do. But it worked fine for me, doing
something very similar, so I thought I'd mention it.
Noel
More information about the cctalk
mailing list