First page Back Continue Last page Overview Graphics

Can you mount other filesystems in uml?

  • Surprisingly, yes. If the uml has been compiled with support for hostfs, then the root filesystem / (or any subdirectory) of the host machine can be mounted. To mount the host filesystem for example from uml, just do:
  • mount none /mnt/host -t hostfs
  • To mount a subdirectory, for example /usr/local, just do:
  • mount none /mnt/host -t hostfs -o /usr/local

    Notes: