DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

find_name - print the name of a ufs file system

SYNOPSIS

find_name address

DESCRIPTION

Given the address of ufs vnode that is still on the ncache list, the find_name macro will display the name of the file system.

First run the uinode macro to obtain a vnode address.

Typical output looks like this:

  S> dl ufs_inode
  ufs_inode:  D1532000 00000000 00000000 00000000  . S.............  .

  S> uinode D1532000
  [D1532000]  vnode D1532008 devvp D15E4704  flag 108 : MOD REF
   want 00 dev 1 number 2 diroff 1D4 fs D15F5000 owner 0099 count 0000
   freef 0 freeb 0 mapcnt 0 map 0 mode 0000(00000) nlink 0000
    i_nextr 1000 icommon D15320C4
  fs name /
  S> find_name D1532008
  ..
If the inode is not in the cache then find_name will report it:
  S> uinode D1559C30
  [D1559C30]  vnode D1559C38 devvp D177FB04  flag 100 : REF
   want 00 dev 21 number E881 diroff 0 fs D17C9000 owner 008C count 0000
   freef 0 freeb 0 mapcnt 0 map 0 mode 0000(00000) nlink 0000
    i_nextr 0 icommon D1559CF4
  fs name /fnsw
  S> find_name D1559C38
  inode D1559C38 not found in ncache

DEFINED IN

uinode.k

SEE ALSO

uinode

APPENDIX A: Alphabetic Index of Macros