tried bioctl -h softraid0 lately? -- Todd Fries .. t...@fries.net
_____________________________________________ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | "..in support of free software solutions." \ 250797 (FWD) | \ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt Penned by Michael on 20081212 11:15.55, we have: | Hi, | | is it somehow possible to read the type of a softraid partition? | | When I have the following... (it actually is a crypto raid volume) ... | how could I figure out if it is RAID 0, 1 or C? | | | # fdisk sd0 | Disk: sd0 geometry: 491/255/63 [7897088 Sectors] | Offset: 0 Signature: 0xAA55 | Starting Ending LBA Info: | #: id C H S - C H S [ start: size ] | ------------------------------------------------------------------------------- | 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused | 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused | 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused | *3: A6 0 1 1 - 490 254 63 [ 63: 7887852 ] OpenBSD | | # disklabel sd0 | # Inside MBR partition 3: type A6 start 63 size 7887852 | # /dev/rsd0c: | type: SCSI | disk: SCSI disk | label: | flags: | bytes/sector: 512 | sectors/track: 63 | tracks/cylinder: 255 | sectors/cylinder: 16065 | cylinders: 491 | total sectors: 7897088 | rpm: 3600 | interleave: 1 | trackskew: 0 | cylinderskew: 0 | headswitch: 0 # microseconds | track-to-track seek: 0 # microseconds | drivedata: 0 | | 16 partitions: | # size offset fstype [fsize bsize cpg] | a: 7887852 63 RAID | c: 7897088 0 unused 0 0 | | # bioctl sd0 | sd0: <, , 0.00>, serial \\037 0.00 | | # bioctl sd0a | sd0a: <, , 0.00>, serial \\037 0.00