Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ devfree(1a) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

devfree(3X)

devreserv(1)

devreserv(3X)

reservdev(3X)



devfree(1M)      SYSTEM ADMINISTRATION COMMANDS       devfree(1M)



NAME
     devfree - releases devices from exclusive use

SYNOPSIS
     devfree pid [device [...]]

DESCRIPTION
     devfree releases devices from exclusive use.  Exclusive  use
     is  requested  with  the command devreserv.  When devfree is
     invoked with only the pid argument, it releases all  devices
     that  have  been  reserved for that process id.  When called
     with pid and device arguments, devfree releases  the  speci-
     fied  devices  that have been reserved with that process id.
     The arguments for this command are:
     pid  Designates the application's process id number on which
          the device was reserved.
     device
          Defines device that  this  command  will  release  from
          exclusive  use.   Can  be the pathname of the device or
          the device alias.

ERRORS
     The command will exit with one of the following values:

     0 = successful completion of the task.

     1 = command syntax incorrect, invalid option used, or inter-
         nal error occurred.

     2 = device table or device reservation table  could  not  be
         opened for reading.

     3 = reservation release could not  be  completely  fulfilled
         because  one  or more of the devices was not reserved or
         was not reserved on the specified process id.

FILES
     /etc/device.tab
     /etc/devlkfile

NOTES
     The commands devreserv and devfree are used  to  manage  the
     availability  of devices on a system.  These commands do not
     place any constraints on the access  to  the  device.   They
     serve  only as a centralized bookkeeping point for those who
     wish to use them.  Processes that do not use  devreserv  may
     concurrently  use  a device with a process that has reserved
     that device.  The pid argument must be the process id of the
     controlling  process.   This  process  should be active both
     when the device is reserved and when it is  freed.   When  a
     process  becomes  inactive, all devices reserved to the pro-
     cess id are canceled by the system.



                                                                1





devfree(1M)      SYSTEM ADMINISTRATION COMMANDS       devfree(1M)



SEE ALSO
     devfree(3X), devreserv(1), devreserv(3X), reservdev(3X).





















































                                                                2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026