On Fri, 7 Mar 2003, [iso-8859-15] Hans-J�rgen Schwarz wrote: > wenn I do a lsof within a vserver, I can see parts of other vservers in > the Output. How can I stop this behavior?
It's on my ``fix'' list: http://www.paul.sladen.org/vserver/fix0r.txt ] lsof. ] ] lsof (List open files) tries to stat all the mounted partitions. ] ] It gets these from `/proc/mounts' instead of `/etc/mtab' which we ] already fake. ] ] lsof: WARNING: can't stat() ext2 file system /vservers ] Output information may be incomplete. ] lsof: WARNING: can't stat() proc file system /vservers/hutch/proc ] Output information may be incomplete. ] lsof: WARNING: can't stat() devpts file system /vservers/hutch/dev/pts ] Output information may be incomplete. ] lsof: WARNING: can't stat() proc file system /vservers/muse/proc ] Output information may be incomplete. ] lsof: WARNING: can't stat() devpts file system /vservers/muse/dev/pts ] Output information may be incomplete. ] ] (Note: This doesn't stop it working). ] ] fix: fake `/proc/mounts' so that stuff below the current chroot() is ] not shown. -Paul -- No War. Nottingham, GB
