What Does LSWAP Do, Exactly?
Articles and Tips: qna
01 Jun 1999
Q.
Dear Ab-end: Now that you mention it, I was wondering what exactly does the LSWAP file on the DOS partition do? Can you explain how it changes the SERVER.EXE file ?
- Just Curious in Cancun
A.
Dear Curious: Here is an explanation to the LSWAP routine that puts the LOADER code in SERVER.EXE. I hope this clears things up somewhat.
LOADER.EXE is a static patch file which updates the LOADER code that is currently part of the SERVER.EXE source code. To place the new LOADER code into SERVER.EXE, you need to run LSWAP.EXE (if your server is not presently running) or the LSWAP.NLM (if your server is up and running at this time). You only need to run LSWAP once, because it then takes the LOADER code found in the LOADER.EXE file and places that code into SERVER.EXE.
LSWAP is a binary level edit routine. It reads the 'script' (LOADER.EXE) and then applies the 'script' to the SERVER.EXE as a number of binary edits.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.