A mechanism is disclosed for selectively providing mount information to
processes running within operating system partitions. In one
implementation, a non-global operating system partition is created within
a global operating system environment. A file system is maintained for
this non-global partition. This file system comprises zero or more
mounts, and may be part of a larger, overall file system. When a process
running within the non-global partition requests information pertaining
to mounts, a determination is made as to which partition the process is
running in. Because the process is running within the non-global
partition, only selected information is provided to the process. More
specifically, only information pertaining to the mounts that are within
the file system maintained for the non-global partition is provided to
the process. By doing so, the process is limited to viewing only those
mounts that are part of the non-global partition's file system.