The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

vfs_getvfs (9)
  • >> vfs_getvfs (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    
    
    vfs_getvfs
    
     - returns a mount point given its file system identifier
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/mount.h>
    struct mount * vfs_getvfs (fsid_t *fsid);
     

    DESCRIPTION

    The vfs_getvfs ();
    function returns the mount point structure for a file system given its file system identifier. The file system ID should have been allocated by calling vfs_getnewfsid9; otherwise, it will not be found.

    A major user of vfs_getvfs ();
    is NFS, which uses the Vt fsid as part of file handles in order to determine the file system a given RPC is for. If vfs_getvfs ();
    fails to find the mount point related to Fa fsid , the file system is considered stale.  

    RETURN VALUES

    If Fa fsid is found, the mount point for the ID is returned; otherwise, NULL is returned.  

    PSEUDOCODE

    if ((mp = vfs_getvfs(&fhp->fh_fsid)) == NULL) {
            error = ESTALE;
            goto out;
    }
    
     

    SEE ALSO

    vfs_getnewfsid9  

    AUTHORS

    This manual page was written by An Chad David Aq [email protected] .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    PSEUDOCODE
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру