The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    VFS_MOUNT
    
     - mount a file system
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/mount.h>
       #include <sys/vnode.h>
    int VFS_MOUNT (struct mount *mp struct thread *td);
     

    DESCRIPTION

    The VFS_MOUNT ();
    macro mounts a file system into the system's namespace or updates the attributes of an already mounted file system.

    The arguments it expects are:

    Fa mp
    Structure representing the file system.
    Fa td
    Thread which is mounting the file system.

    The VFS_MOUNT ();
    macro is called both to mount new file systems and to change the attributes of an existing file system. If the MNT_UPDATE flag is set in Fa mp->mnt_flag then the file system should update its internal state from the value of Fa mp->mnt_flag . This can be used, for instance, to convert a read-only file system to read-write. It is also used by mountd(8) to update the NFS export information for the file system.

    If the MNT_UPDATE flag is not specified, then this is a newly mounted file system. The file system code should allocate and initialize any private data needed to represent the file system (it can use the Fa mp->mnt_data field to store this information).  

    SEE ALSO

    VFS(9), vnode(9)  

    AUTHORS

    This manual page was written by An Doug Rabson .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    SEE ALSO
    AUTHORS


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




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

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