🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1511

Re: Who redirects to a file?

#1511
From: Gary Mills
Date: Wed, 17 Oct 1990 03:02
16 lines
1015 bytes
ellis@ultra.dec.com (David Ellis 16-Oct-1990 1136) writes:

>Given a specific file, how can the following be done in csh:

>(a) Determine whether there exists a process whose output is currently 
>redirected into the file.
[...]
>(c) As in (b), but you want to test for processes on other machines that
>may be redirecting their output to your file via a NFS pointer on their
>machine.

In this situation, about all you can do is lock the file, with something
like lockf(3).  It even works across NFS mounts in SunOS 4.1.1, 
for example.
-- 
-Gary Mills-             -University of Manitoba-             -Winnipeg-
Technical Details
Message-ID: <1990Oct17.030214.17113@ccu.umanitoba.ca>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!ccu.umanitoba.ca!mills
References: <9010161533.AA19292@decpa.pa.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!clyde.concordia.ca!ccu.umanitoba.ca!mills
From: mills@ccu.umanitoba.ca (Gary Mills)
Newsgroups: comp.unix.shell
Subject: Re: Who redirects to a file?
Message-ID: <1990Oct17.030214.17113@ccu.umanitoba.ca>
Date: 17 Oct 90 03:02:14 GMT
References: <9010161533.AA19292@decpa.pa.dec.com>
Organization: University of Manitoba, Winnipeg, Canada
Lines: 16