| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Helpppp!!! |
22 Aug 94, Louis Rizzuto writes to Kelly Schrock: > Hi, Kelly. I don't know OS/2 but it seems to me that denial to write to > a exe file might be denied based on not having it set up with proper > acess. Why should OS/2 or any operating system presume what files are > writeable or not. Doesn't seem to make sense to me - unless OS/2 is > marking all .exe's as "Read Only" for some inexplicable reason. Hmmmm. OS/2 denies write access to its executables so that it can save memory two different ways. First, by guaranteeing that the executable will not change during the time it is running, it can mark all the pages the executable resides in as "discardable." When a page is "swapped out," it is simply removed from memory and re-loaded from the executable file when it's needed rather than being moved to the swapfile, like the program's data is. Also, by only having one copy of the executable in memory at any given time. It can only do this if it can guarantee that the applications that the system intends to run are all identical and it can only guarantee that if it opens the program in "Deny Read Write" mode. It doesn't change the executable to "read only" it merely opens it such that it can't be shared with any task that might write to it. It's really not all that tough to understand, is it? - Jon --- GoldED/2 2.42.G0214* Origin: The Wandering Programmer Comes Home (1:106/2000.25) SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 712/353 623 713/888 800/1 @PATH: 30883/25 106/2000 449 116 170/400 280/1 396/1 3615/50 @PATH: 229/2 12/2442 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.