home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / aix / 9689 < prev    next >
Encoding:
Text File  |  1992-09-15  |  1.2 KB  |  36 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!iWarp.intel.com|ichips!tmcconne
  3. From: tmcconne@sedona.intel.com (Tom McConnell~)
  4. Subject: strip and active files
  5. Message-ID: <1992Sep15.212337.22962@ichips.intel.com>
  6. Originator: tmcconne@sedona
  7. Sender: tmcconne@sedona (Tom McConnell~)
  8. Organization: Intel Corporation
  9. Date: Tue, 15 Sep 1992 21:23:37 GMT
  10. Lines: 24
  11.  
  12.  
  13.   I just noticed that the strip command is smart enough not to "strip" an active
  14. program, but only if the program is not on an NFS mounted disk. If the program
  15. is on the local disk, and is running, strip gives this message:
  16.  
  17.     thunder> strip fred
  18.     strip: fred -- strip: 0654-402 Cannot write to file, permissions are not \
  19.     correct.
  20.  
  21. Not a very informative message, but at least it did not strip the program.
  22.  
  23.   If you run strip on an active program from an NFS mounted disk, strip works
  24. fine, and the program core dumps shortly afterwards.
  25.  
  26.   My question is: How does the strip command determine if the file is active?
  27.  
  28.     Cheers,
  29.  
  30.     Tom McConnell
  31. -- 
  32.  Tom McConnell          |     Internet: tmcconne@sedona.intel.com
  33.  Intel, Corp. C3-91     |     Phone: (602)-554-8229
  34.  5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
  35.  Chandler, AZ  85226    | their right mind would claim them.
  36.