*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> clone (7)              
Title
Content
Arch
Section
 

clone(7)

Contents


NAME    [Toc]    [Back]

       clone  -  Opens a major and minor device pair on a STREAMS
       driver

DESCRIPTION    [Toc]    [Back]

       The clone driver is a "pass through"  device  driver  that
       allows other drivers to select unique minor device numbers
       on each open. In effect, the driver passes an open  operation
  through  to  the other driver. This mechanism allows
       for multiple instantiations of a driver through  a  single
       file system node.

       The  name  parameter  specifies  the  name  of the special
       device driver to be opened. The  clone  driver  calls  the
       open routine of the other driver with flags that specify a
       clone open, and sets up the new  instantiation  using  the
       returned  major/minor  pair.  The  new major number is the
       minor number of the clonable entry, and the  minor  number
       has been dynamically selected.

       If the clone driver has an invalid minor number, or if the
       driver indicated  is  not  a  clonable  driver,  an  error
       occurs.

       The  master  devices  for  pseudoterminals are examples of
       clonable drivers (see the pty(7) reference page).

SEE ALSO    [Toc]    [Back]

      
      
       Functions: fstat(2), open(2)

       Interfaces: pty(7)



                                                         clone(7)
[ Back ]
 Similar pages
Name OS Title
clone IRIX open any minor device on a STREAMS driver
cddevsuppl Tru64 Sets and gets the major and minor numbers of
cd_setdevmap Tru64 set mappings of major/minor numbers of a
cd_getdevmap Tru64 get mappings of major/minor numbers of a
vdevgone OpenBSD revoke all specified minor numbered vnodes for a device
tels HP-UX STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respective
telm HP-UX STREAMS Telnet slave (pseudo-terminal) driver, STREAMS Telnet master driver (used by telnetd only), respective
ifnet Tru64 STREAMS ifnet module for bridging STREAMS device drivers to sockets
dlb Tru64 STREAMS pseudodevice driver for bridging BSD Drivers to STREAMS
dlpi Tru64 STREAMS pseudodevice driver for bridging BSD Drivers to STREAMS
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service