DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
How the LKP works

Directory layout

The directory layout you see depends upon the mode you are working in. If you are working in Linux mode, you will see a Linux directory tree, but if you are working in UNIX mode, you will see a UnixWare 7 directory tree. For information about modes, see ``Understanding modes''.


NOTE: If you are the root user, the linux command switches you into Linux mode, but it does not change directory. You must cd to the directory you want to be in.

Most directories are unique to the environment they reside in, but /home and /tmp are shared (via lxuwfs) by both UnixWare 7 and LKP environments: Some administrative files are also linked between the two environments. See ``Directories and files''

From UNIX mode, the directory layout looks like this (/ = UnixWare 7 root):

Directory layout from UNIX mode

From UNIX mode:

From Linux mode the directory layout looks like this (/ = Linux root):

Directory layout from Linux mode

From Linux mode:

So, regardless of whether you are operating from UnixWare 7 or Linux mode:

This layout makes it possible to run Linux applications and allows Linux programs to access UnixWare 7 files. A program could access /etc/inittab, /linux/etc/inittab, or /unixware/etc/inittab, and would access the correct version of the file in each case.


Next topic: /linux
Previous topic: lxuwfs

© 2002 Caldera International, Inc. All rights reserved.
UnixWare 7 Release 7.1.3 - 17 October 2002