Subject: ccd's and disklabels
To: None <>
From: Peter Seebach <>
List: current-users
Date: 08/20/1999 12:04:58
Okay, progress on my splice project:

In a raw dump of /dev/ccd0c, I find:

0x006550  08 00 00 00  00 00 00 00  00 00 00 00  54 19 01 00 '............T...'

Of course, everyone immediately recognizes the significance of finding
FS_MAGIC.  :)  If I look at a "real" NetBSD disk, this would be 0x002550.

So, all I need to do is create a partition with the right magic.

Hmm.  Does NetBSD cope okay with fragment and block sizes other than 1k/8k?

Hmm.  Looking more at this, it looks like 0x0000-0x3fff are a fake label
created by the ccd driver, and starting at 0x4000, I have the "real" label
I expect.  Specifically, the NetBSD label says "WEV" at 0x0040, the next
one is at 0x41f0.

This looks complicated.