Hi All,

You can find a webrev for changes to mdb to allow ctf to be loaded with 
raw targets at:
http://www.bruningsystems.com/webrev.rawctf.

I'll say more about how this works in a later email.

Usage looks like this:

# mdb /dev/rdsk/c0d0s0     <-- should work with any file
 > ::loadctf                           <-- currently no options, only 
loads ctf for running kernel
 >
 > 2000::print struct fs         <-- prints the superblock

You can read my blog at http://mbruning.blogspot.com for some ideas
on how to use it.  I have also written a dmod which has one dcmd and one 
walker.
The dcmd takes an inumber and returns the disk location of the inode.
The walker takes an inode for a directory and walks the entries in the 
directory.
The dmod source is attached.  To compile and use, see /usr/demo/mdb/README.

have fun.
max

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rawufs.c
Type: text/x-csrc
Size: 6452 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/mdb-discuss/attachments/20070925/9b66130b/attachment.bin>

Reply via email to