jfs2node subcommand

The jfs2node subcommand displays the Enhanced Journaled File System (JFS2) xnode structures.

Format

jfs2node address

Parameters

Item Description
address Specifies an address at which to check whether that address is a valid JFS2 xnode structure or an offset into one. If there is a valid xnode or offset, the jfs2node subcommand displays the relevant structure. This is a required parameter.

Other

j2no

Examples

The following is an example of how to use the j2no alias for the jfs2node subcommand:

(0)> j2no 0x1
0x1 is not a valid JFS2 xnode address.

(0)> i2
ADDRESS     DEVICE    I_NUM      IPMNT          COUNT   TYPE    FLAG
369F9080   00220001     1       369C9080        00001   NON
369C9080   00220001     mounted 369C9080        00001   NON
36A1F080   00220002     0       00000000        00001   NON
36A43080   00220001     2       369C9080        00001   VDIR
36A0C080   00220001     2       369C9080        00001   NON
36A30080   00220001     16      369C9080        00001   NON
(0)> j2no 36A1F080
0x36A1F080 is an inode:


In-memory Working Inode:
hashClass....0x00000422  cacheClass...0x00000005  count........0x00000001
capability...0x00000125  atlhead......0x00000000  atltail......0x00000000
bxflag.......0x00000000  blid.........0x00000000  btindex......0x00000000
diocnt.......0x00000000  nondiocnt....0x00000000
dev..........0x00220002  synctime.....0x00000000  nodelock.....0x00000000
ipmnt........0x00000000  ipimap.......0x00000000  pagerObject..0x00000000
event........0xFFFFFFFF  fsevent......0xFFFFFFFF  openevent....0xFFFFFFFF
cacheLst.nxt.0x00000000  cacheLst.prv.0x00000000  freeNext.....0x00000000
hashLst.nxt..0x00000000  hashLst.prv..0x366BE198  kdmvp........0x00000000
flag.........0x00001000  flag_type....SYSTEM
cflag........0x00000000
xlock........0x00000000
fsxlock......0x00000000
btorder......0x00000000
agstart......0x0000000000000000
lastCommittedSize...0x0000000000000000
.
.
.


(0)> j2no 0x36A1F085
0x36A1F085 is at offset 5 into wInode:


In-memory Working Inode:
hashClass....0x00000422  cacheClass...0x00000005  count........0x00000001
capability...0x00000125  atlhead......0x00000000  atltail......0x00000000
bxflag.......0x00000000  blid.........0x00000000  btindex......0x00000000
diocnt.......0x00000000  nondiocnt....0x00000000
.
.<as above>
.