Browse Prior Art Database

UNIX User Area in OS/2

IP.com Disclosure Number: IPCOM000103576D
Original Publication Date: 1993-Jan-01
Included in the Prior Art Database: 2005-Mar-18
Document File: 1 page(s) / 36K

Publishing Venue

IBM

Related People

Gittins, RS: AUTHOR [+3]

Abstract

The Distributed Computing Environment (DCE) is a technology base adopted by the Open Software Foundation (OSF). The Andrew File System (AFS) is DCE's Distributed File System.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 97% of the total text.

UNIX User Area in OS/2

       The Distributed Computing Environment (DCE) is a
technology base adopted by the Open Software Foundation (OSF).  The
Andrew File System (AFS) is DCE's Distributed File System.

      AFS, like many UNIX* applications, relies heavily on a
structure called the User area.  This structure is provided by the
Operating System on a per-process basis.  To provide a User area for
AFS on the OS/2**, platform development took advantage of the OS/2
Dynamic Link Libraries (DLL) mechanism.  A DLL is an executable file
that is loaded by OS/2 when it is needed by another program.  For
AFS, a UAREA.DLL was created that contains the User area.

      UAREA.DLL creates a private User area for the application that
loads it.  The User area exists for as long as the application runs.
When the application exits, the User area disappears.  There are 3
ways to load UAREA.DLL:
 1) Loading a DLL that explicitly loads or references UAREA.DLL.
 2) Explicitly loading UAREA.DLL via a call DosLoadModule().
 3) Linking UAREA.LIB into the application itself.  UAREA.LIB is an
import library generated from UAREA.DLL using IMPLIB.

      For the AFS porting effort, UAREA.LIB was linked into the
OS2LFS.DLL and consequently, any reference to OS2LFS.DLL will create
a new User area for the calling process.

      This approach applies to any UNIX application that uses the
UNIX user area and is being ported to OS/2.
*  Trademark of UNIX System Laborator...