pseudo(5) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

pseudo(5)

pseudo(5)                        File Formats                        pseudo(5)

NAME
       pseudo - configuration files for pseudo device drivers

DESCRIPTION
       Pseudo  devices  are devices that are implemented entirely in software.
       Drivers for pseudo devices must provide driver configuration  files  to
       inform the system of each pseudo device that should be created.


       Configuration  files for pseudo device drivers must identify the parent
       driver explicitly as pseudo, and must create an integer property called
       instance which is unique to this entry in the configuration file.


       Each entry in the configuration file creates a prototype devinfo  node.
       Each  node  is  assigned  an instance number which is determined by the
       value of the instance property. This property  is  only  applicable  to
       children  of  the  pseudo  parent, and is required since pseudo devices
       have no hardware address from which to determine the  instance  number.
       See driver.conf(5) for further details of configuration file syntax.

EXAMPLES
       Example 1 A sample configuration file.



       Here  is  a  configuration file called ramdisk.conf for a pseudo device
       driver that implements a RAM disk. This file creates two  nodes  called
       "ramdisk".  The  first  entry  creates ramdisk node instance 0, and the
       second creates ramdisk node, instance 1, with the additional  disk-size
       property set to 512.


         #
         # Copyright (c) 1993, by Oracle and/or its affiliates.
         #
         #ident  "@(#)ramdisk.conf       1.3     93/06/04 SMI"
         name="ramdisk" parent="pseudo" instance=0;
         name="ramdisk" parent="pseudo" instance=1 disk-size=512;



SEE ALSO
       driver.conf(5), ddi_prop_op(9F)


       Writing Device Drivers in Oracle Solaris 11.4

Oracle Solaris 11.4               15 Jun 1993                        pseudo(5)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3