1

Topic: Miracles

As it is known, it is impossible to delete exe or dll files which are at present loaded for execution of any process. But, it appears, it is possible to rename and replace them with new files with the same names! And it is possible even from the same process (greetings to baron Mjunhgauzenu). Here after all logic miracles....... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

2

Re: Miracles

And it is good, bad or normal?

3

Re: Miracles

Hello, Muxa, you wrote: M> And it is good, bad or normal? , simply strange somehow.... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

4

Re: Miracles

CM> As it is known, it is impossible to delete exe or dll files which are at present loaded for execution of any process. CM> but, it appears, it is possible to rename and replace them with new files with the same names! And it is possible even from the same process (greetings to baron Mjunhgauzenu). CM> Here after all logic miracles.... Good protection against casual removal.

5

Re: Miracles

Hello, turbocode, you wrote: T> Good protection against casual removal. ?... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

6

Re: Miracles

T>> Good protection against casual removal. CM> Nafiga? We admit you the fitter which at first launched deletes, and then puts the new version. The fitter tries to delete a file, did not quit - the program means is launched. It is possible to ask to close at first the user the program.

7

Re: Miracles

Hello, turbocode, you wrote: T> the Fitter tries to delete a file. Then tries to delete another, the third, deletes everything, what not , and "sentry then shouts, I do not know what to do". Curve fitters normally so do. T> it is possible to ask to close at first the user the program. And to use  or to look at the process list not destiny?... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

8

Re: Miracles

T>> the Fitter tries to delete file CM>. Then tries to delete another, the third, deletes everything, what not , and "sentry then shouts, I do not know what to do". Curve fitters normally so do. It is possible to begin removal with principal process. T>> it is possible to ask to close at first the user the program. CM> and to use  or to look at the process list not destiny? Fitters as a rule have very restricted possibilities.

9

Re: Miracles

Hello, turbocode, you wrote: T> Fitters as a rule have very restricted possibilities. Well it is admissible. And what for then to allow to rename and substitute? If to lock from changes, so from any.... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

10

Re: Miracles

T>> Fitters as a rule have very restricted possibilities. CM> well it is admissible. And what for then to allow to rename and substitute? If to lock from changes, so from any. If you are assured of that that you do that is such possibility to make it.

11

Re: Miracles

Hello, CoderMonkey, you wrote: CM> Nafiga? Paging because.... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

12

Re: Miracles

Hello, turbocode, you wrote: T> you Are admissible the fitter which at first launched deletes, and then puts the new version. The fitter tries to delete a file, did not quit - the program means is launched. T> it is possible to ask to close at first the user the program. No, it is ghost effect.... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

13

Re: Miracles

Hello, CreatorCray, you wrote: CC> Paging because. In sense?... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

14

Re: Miracles

Hello, CoderMonkey, you wrote: CM> As it is known, it is impossible to delete exe or dll files which are at present loaded for execution of any process. They  in storage CM> But, it appears, it is possible to rename and replace them with new files with the same names! And it is possible even from the same process (greetings to baron Mjunhgauzenu). File contents are required, what at need  pages missing/forced out from storage. And for this purpose it would be necessary that the file on a disk lay, and under what name it is not important. CM> here after all logic miracles.... The System superimposes the minimum restrictions necessary for the operation.

15

Re: Miracles

Hello, CoderMonkey, you wrote: CM> As it is known, it is impossible to delete exe or dll files which are at present loaded for execution of any process. CM> but, it appears, it is possible to rename and replace them with new files with the same names! And it is possible even from the same process (greetings to baron Mjunhgauzenu). CM> Here after all logic miracles.... The Logic that if there is a process which reads from a file is simple so to do an open file descriptor invalid is impossible - the majority of applications this situation do not process and can simply fall. In  is even more cheerful - it is possible to delete a file, but on a disk it remains, all processes to which it is necessary will not be closed yet.

16

Re: Miracles

Hello, scf, you wrote: scf> In  is even more cheerful - it is possible to delete a file, but on a disk it remains, all processes to which it is necessary will not be closed yet. It because there removal it unlink - inode is unhitched from namespace... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

17

Re: Miracles

Hello, CoderMonkey, you wrote: CC>> Paging because. CM> In sense? A file  in storage.

18

Re: Miracles

Hello, CoderMonkey, you wrote: CM> As it is known, it is impossible to delete exe or dll files which are at present loaded for execution of any process. CM> but, it appears, it is possible to rename and replace them with new files with the same names! And it is possible even from the same process (greetings to baron Mjunhgauzenu). CM> Here after all logic miracles.... All is just very logical. "The loaded" files actually are not loaded, and displayed in storage of process. Also that this system would work further - the file should be. And as it is called - business the tenth.

19

Re: Miracles

Hello, CoderMonkey, you wrote: CM> Here after all logic miracles.... As that this post at all  with  in an adjacent branch about a unit testing, I would tell mismatch miracles  sudden to "wonderful discoveries".

20

Re: Miracles

Hello, CreatorCray, you wrote: scf>> In  is even more cheerful - it is possible to delete a file, but on a disk it remains, all processes to which it is necessary will not be closed yet. CC> it because there removal it unlink - inode is unhitched from namespace And if we ungear a supply during this moment, the system finishes the zombie a file on a disk at following switching-on?

21

Re: Miracles

Hello, m2l, you wrote: CM>> As it is known, it is impossible to delete exe or dll files which are at present loaded for execution of any process. m2l> they  in storage In  too . However in  it is possible to delete easily an executed file or shared library which are used at present. Thus names will be remote from directories only, files will physically be deleted, when cease to be used. I.e., both variants are technically possible. Microsoft selected one way, the world  - another. But it is not clear, why the microsoftware did not go up to the end, removal blocked, and renaming - is not present.

22

Re: Miracles

Hello, Alexander G, you wrote: AG> And if we ungear a supply during this moment, the system finishes the zombie a file on a disk at following switching-on? More ridiculously another. If on file system is "" files, the file system cannot be remounted in read-only.

23

Re: Miracles

Hello, Alexander G, you wrote: AG> And if we ungear a supply during this moment, the system finishes the zombie a file on a disk at following switching-on? Normally inode shift in  purgatory which during time mount is cleaned, so yes, it will be finished.... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

24

Re: Miracles

Hello, Pzz, you wrote: Pzz> But it is not clear, why the microsoftware did not go up to the end, removal blocked, and renaming - is not present. Because inside they on a miscellaneous are arranged. At MS the file deletes removal immediately. At *nix removal if is rough on fingers that a file renames and from the user hides really to bang then.... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

25

Re: Miracles

Hello, Pzz, you wrote: Pzz> another is more ridiculous. If on file system is "" files, the file system cannot be remounted in read-only. Well it already as implement. Hinders nothing to make normally, except developer laziness well and sometimes reasons " the sea and is necessary once in a blue moon".... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>