|
|
With the LKP installed on your UnixWare 7 system, you can switch between UNIX and Linux mode.
After logging into the UnixWare 7 system, use one of the following methods to change mode:
UNIX mode is the native UnixWare 7 environment. When you log in to a UnixWare 7 system you are, by default, in UNIX mode (unless Linux has been set as your default environment). Normally, it would be assumed that any binary you run from this mode would be a UnixWare 7 program. But, with the LKP installed, you can simply let the LKP figure out whether its a UnixWare 7 or Linux binary, and it will automatically run in the correct environment. See ``Running application binaries'' for a description of how this works. Generally, when in UNIX mode, files you access are UnixWare 7 files unless you preface the filename with /linux.
When you are in Linux mode you are working in the LKP environment. Unless Linux has been set as your default environment, you have to specifically change to Linux mode. Generally, when in Linux mode, all files you access are Linux files unless you preface the filename with /unixware.
You can use the uname -a command to determine what mode you are in. If you are in Linux mode, uname will return ``Linux''. From UNIX mode, uname returns ``OpenUNIX''.
See ``Directory layout'' to see how the directory layout changes depending upon the mode you are in.