Re: iseek with lofiadm ?

From: Richard L. Hamilton (Richard.L.Hamilton_at_mindwarp.smart.net)
Date: 09/30/05


Date: Fri, 30 Sep 2005 00:46:05 -0000

In article <4339801f$0$11079$e4fe514c@news.xs4all.nl>,
        Casper H.S. *** <Casper.***@Sun.COM> writes:
> "lundman@lundman.net" <lundman@lundman.net> writes:
>
>>I recently had the chance to dd the raw disk of a failing HDD just
>>hours before it died completely.
>
>>But I found that lofiadm seems rather basic. It does not handle the
>>entire-raw image directly, in that it appears to have no knowledge of
>>the label, and partition table.
>
> Yes, there are a few shortcomings that way in lofi; I have a prototype
> which does both blocklevel encryption and offset mapping.
>
>>I fetched scanufs.c, done by some kind soul, which would let me scan
>>for superblocks (and modified it a little).
>
>
> I see if I can find my "splitcd" thin which looks for UFS partitions
> and mounts them all after dd'ing them in separate bits.
>
> (but for the CD those partitions are small)
>

Or in C, see http://groups.google.com/group/comp.unix.solaris/msg/b50b6c7db0998e3d?dmode=source

although it only works on SPARC for now; maybe when I get my x86 squared
away (and get a compiler downloaded), I _might_ try getting it to work
there too.

-- 
mailto:rlhamil@smart.net  http://www.smart.net/~rlhamil
Lasik/PRK theme music:
    "In the Hall of the Mountain King", from "Peer Gynt"