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:
-
access to /filename
goes to /filename (an UnixWare 7 file)
-
access to /linux/filename
goes to /linux/filename (a Linux file)
-
access to /linux/unixware
goes to / (the UnixWare 7 / directory)
From Linux mode the
directory layout looks like this
(/ = Linux root):

Directory layout from Linux mode
From Linux mode:
-
access to /filename
goes to /linux/filename (a Linux file)
-
access to /linux/filename
goes to /linux/filename (a Linux file)
-
access to /unixware/filename
goes to /unixwarefilename (an UnixWare 7 file)
So, regardless of whether you are operating from UnixWare 7
or Linux mode:
-
filenames beginning with /unixware always reference an
UnixWare 7 file (except for /unixware/linux)
-
filenames beginning with /linux always reference a
/linux file (except for /linux/unixware)
-
an executable beginning any other way is run
in the proper environment depending on whether it is
a UNIX or Linux binary.
See
``Running application binaries''.
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