Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site burl.UUCP Path: utzoo!watmath!clyde!burl!rcj From: rcj@burl.UUCP (R. Curtis Jackson) Newsgroups: net.unix-wizards Subject: how can I tell when my shared text file is in use? Message-ID: <462@burl.UUCP> Date: Thu, 10-May-84 17:51:07 EDT Article-I.D.: burl.462 Posted: Thu May 10 17:51:07 1984 Date-Received: Sat, 12-May-84 08:55:30 EDT Organization: AT&T Technologies; Burlington, NC Lines: 21 USG 5.0 on Vax 11/780; I have a microassembler under development which is compiled with -n (shared text). When I do a 'make install', if the text file is busy at the time when it wants to 'rm' the current version and install the new one, I get this message and the makefile bombs: *** ERROR 8853575 ( I think that number is correct; it doesn't really matter ). Is there an easy way, without piping a 'ps -e' through 'grep' in a while loop, to make sure that my makefile waits until the text file is no longer busy before attempting to 'rm' the current executable? Thanks much in advance, -- The MAD Programmer -- 919-228-3313 (Cornet 291) alias: Curtis Jackson ...![ ihnp4 ulysses cbosgd we13 ]!burl!rcj ...![ ihnp4 cbosgd akgua masscomp ]!clyde!rcj