On Fri, 2007-03-30 at 08:53 -0500, Jules Richardson wrote:
Does anyone happen to know where I can find a
"whole disk" device file within
NeXTstep?
I was going to clone the OS drive of a mono Slab onto another (identical
model) hard disk, figuring I'd just 'dd' the contents from one to the other.
Problem is there's no obvious "whole disk" device under /dev, either for
the
OS drive or the "target" drive that I'm hanging off the back of the Slab.
/usr/adm/messages gives me a couple of relevant entries:
<drive name> as sd0 at sc0 target 1 lun 0
<drive name> as sd1 at sc0 target 2 lun 0
... where <drive name> is just the vendor's ID string (Seagate ST1480N) and
the drive's firmware revision. Unfortunately there's no such files as the
obvious /dev/sd0 or /dev/sd1. There are /dev/sd0<a..h> and /dev/sd1<a..h>
files, so maybe one of those (h?) corresponds to the whole disk? (according to
'mount', /dev/sd0a is the root OS partition)
I could just pull the OS drive out of the Slab and hook both drives up to a
Linux box and 'dd' there - but I thought I'd take the route of minimum
dismantling, and of course I assumed it'd be an easy 5 minute job :-)
Is there an rsd0? That'd be the raw version of the disk that you should
be able to copy. Another option might be sd0c which *should* be the
whole disk if it was set up bsdish.
Brian
cheers
Jules