Solaris ネーミングの管理

バインドに関する情報を表示する

fnlookup は、複合名のバインドに関する情報を表示するのに使用します。


fnlookup [-v][-L] composite_name
表 24-2 fnlookup コマンドのオプション

オプション 

説明 

-v

詳細なバインド関連情報を表示する 

-L

「XFN リンクのバインド先となるのはどのリファレンスか」を表示する 

たとえば、以下の例では、ユーザー darwin のバインドに関する情報が表示されます。


# fnlookup -v user/darwin/
Reference type: onc_fn_user
Address type: onc_fn_nisplus
length: 52
context type: user
representation: normal
version: 0
internal name: fns_user_darwin.ctx_dir.sales.doc.com.

ここで user/Charles.Darwinuser/darwin にリンクされているとすると、下の例の最初のコマンドでは、user/Charles.Darwin のバインド先 (XFNリンク) が表示されます。2 番目のコマンドでは、XFNリンク user/jjones が調べられ、user/darwin のバインド先 (user コンテキスト) が表示されます。


# fnlookup user/Charles.Darwin
Reference type: fn_link_ref
Address type: fn_link_addr
Link name: user/darwin
# fnlookup -L user/Charles.Darwin 
Reference type: onc_fn_user
Address type: onc_fn_nisplus
context type: user