The OpenNET Project / Index page

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

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

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

fdescfs (5)
  • >> fdescfs (5) ( FreeBSD man: Форматы файлов )

  • BSD mandoc
     

    NAME

    
    
    fdescfs
    
     - file-descriptor file system
    
     
    

    SYNOPSIS

    fdescfs /dev/fd fdescfs rw 0 0
    
     

    DESCRIPTION

    The file-descriptor file system, or , provides access to the per-process file descriptor namespace in the global file system namespace. The conventional mount point is /dev/fd

    The file system's contents appear as a list of numbered files which correspond to the open files of the process reading the directory. The files /dev/fd/0 through /dev/fd/# refer to file descriptors which can be accessed through the file system. If the file descriptor is open and the mode the file is being opened with is a subset of the mode of the existing descriptor, the call:

    fd = open("/dev/fd/0", mode);
    

    and the call:

    fd = fcntl(0, F_DUPFD, 0);
    

    are equivalent.

    Flags to the open(2) call other than O_RDONLY O_WRONLY and O_RDWR are ignored.  

    EXAMPLES

    To mount a volume located on /dev/fd

    "mount -t fdescfs null /dev/fd"
     

    FILES

    /dev/fd/#

     

    SEE ALSO

    mount(8)  

    HISTORY

    The file system first appeared in BSD 4.4 The manual page first appeared in Fx 2.2 .  

    AUTHORS

    An -nosplit The manual page was written by An Mike Pritchard Aq [email protected] , and was based on the manual page written by An Jan-Simon Pendry .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    EXAMPLES
    FILES
    SEE ALSO
    HISTORY
    AUTHORS


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




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

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