Re: Shock and Awe



In article <PXlNh.4786$vI1.410@trnddc02>,
Wes Groleau <groleau+nntp@xxxxxxxxxxxxx> wrote:
Matthew T. Russotto wrote:
In article <LbmMh.18106$O_5.15491@trnddc03>,
Wes Groleau <groleau+nntp@xxxxxxxxxxxxx> wrote:
Matthew T. Russotto wrote:
It is. But modifying a file the way prebinding does is not the same
as deleting one and putting a new one in its place.
Changing bytes IN an open file is absurd!

Without some method of keeping changes coherent, it is. But it can be
quite useful if such methods exist.

In a multiuser database system, there is a reason for it, and extensive
code to keep it from causing problems. When you are merely recompiling
or tweaking an executable, make a new version and delete the old when
it is free.

Even Windows is smart enough to resist that.

Only Windows, so far as I know.

Windows is not the only system that has file locking.

Windows is the only system that prevents multiple processes from
opening a file without them demanding an explicit lock.

Now, if you want real fun, try changing a running application by
modifying the file on disk, then forcing the app to be paged out.

In the versions of Solaris that I worked with in the 1990s, you
don't really modify a file on disk. You write a new version and
tell the OS to delete the old one. Which it does when there are
no file descriptors using it. Until then, the processes owning
those file IDs continue to use the old version for paging or whatever.

You could do that, but you'd have to do so explicitly. There's nothing
in Solaris (or the old SunOS) to keep you from opening a file and
modifying it in place, while other processes are using it.
--
There's no such thing as a free lunch, but certain accounting practices can
result in a fully-depreciated one.
.



Relevant Pages

  • Re: Read/Write Solaris Formatted MO Disks Under Windows
    ... >> I have a requirement to read and write to a Solaris Formatted MO Disk ... I never heard of a UFS implementation for Windows. ... able to read both formats from a windows based system. ...
    (comp.unix.solaris)
  • Re: cant open boot label On Blade 1500
    ... windows and solaris platform to burn solaris installation disk 1 & 2, ... >> Sun solaris cd disk. ... > You cannot do that with Windows and it is a PITA to do it using Solaris. ...
    (comp.unix.solaris)
  • Re: cant open boot label On Blade 1500
    ... windows and solaris platform to burn solaris installation disk 1 & 2, ... >> Sun solaris cd disk. ... > You cannot do that with Windows and it is a PITA to do it using Solaris. ...
    (comp.sys.sun.hardware)
  • Re: Read/Write Solaris Formatted MO Disks Under Windows
    ... > I have a requirement to read and write to a Solaris Formatted MO Disk ... I never heard of a UFS implementation for Windows. ... it available to Windows using samba. ...
    (comp.unix.solaris)
  • Re: WINXP+SP2 RUNS TOO SLOW
    ... 512MB of RAM or more is a decent Windows XP machine. ... clean and secure your Windows computer.. ... application, Disk copier, etc.) You'll be glad to know that if you have ... Why you should use a computer firewall.. ...
    (microsoft.public.windowsxp.perform_maintain)

Loading