🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2578

Record locking in BSD 4.3

#2578
From: TATA CONSULTANCY SERVICES
Date: Thu, 27 Jun 1991 07:48
24 lines
1414 bytes

THE ENVIRONMENT
===============
This query is regarding availability of 'record locking facility' 
on BSD ver 4.3 running on ELXSI 6400 ( EMBOS ver 13.0 ).BSD 4.3 
provides only 'file-locking' by flock().There is no lockf() subroutine 
(which provides record locking) as in ATT-UNIX ver 5.2 also running 
on ELXSI 6400.

THE QUERIES
===========
1. Can a 'lockf()' subroutine be developed for BSD 4.3 ?
   The att lockf() uses fcntl() system call which is quite different 
   in functionality from the bsd unix fcntl() .

2. Alternatively is a lock server (external to the kernel) available
   which can simulate the full functionality of the att 5.2 lockf()
   system call.This should be able to work in the BSD 4.3 environment.

WHY IS THIS REQUIRED
====================
We require this to port an ISAM package from att to bsd nuix.This 
package  uses the lockf() system call.
Technical Details
Message-ID: <1991Jun27.074845.12569@ncst.ernet.in>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!shakti!balki

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!shakti!balki
From: balki@ncst.ernet.in (TATA CONSULTANCY SERVICES)
Newsgroups: comp.unix.internals
Subject: Record locking in BSD 4.3
Message-ID: <1991Jun27.074845.12569@ncst.ernet.in>
Date: 27 Jun 91 07:48:45 GMT
Article-I.D.: ncst.1991Jun27.074845.12569
Sender: balki@ncst.ernet.in (TATA CONSULTANCY SERVICES)
Organization: National Centre for Software Technology, Bombay, INDIA
Lines: 24