*BSD News Article 13961


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!uunet!math.fu-berlin.de!news.th-darmstadt.de!iti.informatik.th-darmstadt.de!deeken
From: deeken@iti.informatik.th-darmstadt.de (Hannes Deeken)
Newsgroups: comp.os.386bsd.development
Subject: Re: File Truncation Philosophy
Date: 3 Apr 1993 14:57:19 +0200
Organization: TU Darmstadt, ITI
Lines: 18
Message-ID: <deeken.733841578@iti.informatik.th-darmstadt.de>
References: <C4tJ6C.C17@ns1.nodak.edu>
NNTP-Posting-Host: spelunke.iti.informatik.th-darmstadt.de

tinguely@plains.NoDak.edu (Mark Tinguely) writes:


> If you have other ideas or opinions, flame away.

Why flame? ;)

Why not just arrange it in a way that a process which tries to open
the file containing the pages of an active process for writing fails
and finds ETXTBSY in errno?  (Always wondered what this error code is good
for, if not for this case :)


Ciao,
Hannes
-- 
Hans-Christoph Deeken                   (deeken@iti.informatik.th-darmstadt.de)
TH Darmstadt, Germany