Unix Technical Forum

fsdb vxfs read directory inode

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 06:12 PM
Niklaus
 
Posts: n/a
Default fsdb vxfs read directory inode

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 ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:07 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com