fsdb vxfs read directory inode

From: Niklaus (niklaus@gamebox.net)
Date: Sat Jul 10 2004 - 09:15:12 EDT


 Hi,
   I would like to know the fsdb commands for reading vxfs . How do i
 find out the inodes of the files in a directory . I can see the names
 of files when i dump the inode of the directory. Say the inode of
 directory is 540 and it contains files called check1 and check2.

 Then in fsdb if i do

>540i
>p150c

 i can see the files check1 and check2. How do i find out the inode
 numbers for check1 and check2. I can find it out from ls -i but what
 if the directory is deleted. I have checked the man page but i am
 unable to deduct.

 So can someone please tell me in case of a directory temp_dir has a
 inode X.

                    temp_dir (X)
                     /\
                    / \
          (X1)temp1_dir file1 (X2)
              /\
             / \
    (X3) file2 file3 (X4)

 How do i find X2 and X1 if i know X from fsdb ?

 If i know X2 i can seek to the des the issue (say des is Z) and then
 Zb and then p128c to read the file X2.So the question is how do i find
 X2 and X1 if i know X from fsdb and what is the sequence or command ?

If this is not the appropriate list please guide me to the appropriate
list .

Thank you,
Nik

-- 
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:03 EDT