Mount point not found in mtab
Mark Wielaard
mark at klomp.org
Wed May 27 03:45:54 PDT 2009
On Wed, 2009-05-27 at 12:28 +0200, Mark Wielaard wrote:
> I don't believe this is related to the jtreg run in particular. But
> depends on the package creation process which creates a chroot
> environment where /tmp is bind mounted. I haven't been able to reproduce
> this issue myself yet in a smaller context. But maybe it rings a bell
> for someone?
Aha, this seems to come from the fact that under the chroot /etc/mtab
has not all file systems. In fact there is no guarantee that it has,
since one could have mounted with -n so /etc/mtab isn't updated. A
workaround might be to use /proc/mounts if /etc/mtab misses the
information.
Cheers,
Mark
More information about the nio-dev
mailing list