From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6b04f5359af5c957 X-Google-Attributes: gidfee84,public From: iglesias@draco.acs.uci.edu (Mike Iglesias) Subject: Re: Overwriting exe's crashes osf programs ? Why Date: 1996/02/25 Message-ID: <4gomj2$t3r@news.service.uci.edu>#1/1 X-Deja-AN: 140987363 references: <4gie5u$ngn@lal.interserv.net> <4giut5$rvv@zk2nws.zko.dec.com> <022396184941Rnf0.79b5@tiger.xs4all.nl> organization: University of California, Irvine newsgroups: comp.unix.osf.osf1 In article <022396184941Rnf0.79b5@tiger.xs4all.nl>, Richard Westerik wrote: >I disagree. It's not "just" cc or ld that can cause a situation like this. >A customer of ours was once badly bitten by this 'feature' of Digital >Unix. He tried to restore (part of?) /usr while running the restore from >a 'dxterm' under X11. One should use caution when restoring /usr (or files in / for that matter) while the system is up. In fact, it's probably better to do it single user. >This can happen not only when you try to overwrite an executable with a >*different* content, but also when the content is going to be exactly the >same! I've seen this problem on numerous occasions. I consider it to be a >bug. So you'd like the OS to compare what it's going to write out with what's already there? Sounds slow and cpu intensive if you ask me. If you don't do it in the OS, you'd have to implement it in all the utilities that write and copy files. SunOS has the same problem with writing over executables while they are running. -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine phone: (714) 824-6926 Office of Academic Computing FAX: (714) 824-2069