The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    vfs_getnewfsid
    
     - allocate a new file system identifier
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/mount.h>
    void vfs_getnewfsid (struct mount *mp);
     

    DESCRIPTION

    The vfs_getnewfsid ();
    function allocates a new file system identifier for the mount point given. File systems typically call vfs_getnewfsid ();
    in their mount routine in order to acquire a unique ID within the system which can later be used to uniquely identify the file system via calls such as vfs_getvfs9.

    The actual Vt fsid is made up of two 32 bit integers, that are stored in the Vt statfs structure of Fa mp . The first integer is unique in the set of mounted file systems, while the second holds the file system type.

    typedef struct fsid {
            int32_t val[2];
    } fsid_t;
    
     

    PSEUDOCODE

    xxx_mount(struct mount *mp, char *path, caddr_t data,
            struct nameidata *ndp, struct thread *td)
    {
            ...
            vfs_getnewfsid(mp);
            ...
    }
    
     

    SEE ALSO

    vfs_getvfs9  

    AUTHORS

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


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    PSEUDOCODE
    SEE ALSO
    AUTHORS


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




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

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