FS(3)                         (emu)                         FS(3)

     NAME
          fs - host file system interface

     SYNOPSIS
          bind #U /

          sys->bind("#U", "/", Sys->MAFTER|Sys->MCREATE);

     DESCRIPTION
          Fs provides an interface to the host file system when run-
          ning emu(1). The device is automatically bound to the root
          of the Inferno namespace when emu starts.  Fs maps filenames
          from the Inferno namespace to the real host filesystem
          namespace. The mapping is determined by the host system
          directory that emu serves (see the description of the -r
          option in emu(1)).

          When there is nothing but root(3) in the name space, the
          device can only be bound from Limbo using sys-bind(2) as
          shown above, since there is nothing in the name space to
          support either bind(1) or newns(2). It can later be rebound
          elsewhere in the name space using bind(1).

     SOURCE
          /emu/devfs-Inferno.c
          /emu/devfs-Nt.c
          /emu/devfs-posix.c

     Page 1                       Plan 9             (printed 3/29/24)