This is a discussion on fsdb vxfs read directory inode within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi, I would like to know the fsdb commands for reading vxfs . How do i find out the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ? |