tail head cat sleep
QR code linking to this page

manページ  — VFS_VPTOFH

名称

VFS_VPTOFH – vnode から NFS ファイルハンドルへの変換

内容

書式

#include <sys/param.h>
#include <sys/mount.h>
#include <sys/vnode.h>

int
VFS_VPTOFH(struct vnode *vp, struct fid *fhp);

解説

これは NFS サーバが使用し、 一意にファイルを識別する不透明なファイルハンドルを作成します。 このファイルハンドルを使用することにより、 将来 NFS クライアントがそのファイルをアクセス可能となります。

引数は以下の通りです。
vp
  ファイルハンドルを生成する対象の vnode。
fhp
  ファイルハンドルの戻り値。

関連項目

VFS(9), VFS_FHTOVP(9), vnode(9)

作者

このマニュアルページは Doug Rabson が書きました。

VFS_VPTOFH (9) July 24, 1996

tail head cat sleep
QR code linking to this page


このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.

This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options!
— The Unix Haters' handbook