Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (3) — Plan9 3rd Edition (Vita Nuova)

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FS(3)  —  emu

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 running 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

Plan 9  —  June 29, 2000

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026