MOUNT(2) Xinu Programmer's Manual MOUNT(2) NAME mount - add a prefix mapping to the namespace SYNOPSIS int mount(prefix, dev, replace) char *prefix; int dev; char *replace; DESCRIPTION _M_o_u_n_t adds a prefix mapping to the syntactic namespace, inserting it just prior to the last entry. Argument _p_r_e_f_i_x points to a string that contains a null-terminated prefix string, argument _d_e_v gives the device id of the device to which the prefix maps, and argument _r_e_p_l_a_c_e points to a null-terminated replacement string. As a special case, _d_e_v can specify the value SYSERR to indicate that names matching the prefix cannot be mapped or accessed. If the namespace table is full, or if the specified prefix or replacement strings exceed the allowed size, _m_o_u_n_t returns SYSERR. Otherwise it returns OK. SEE ALSO open(2), nammap(2), namrepl(2), unmount(2), namespace(4) Version 6b Printed 1/12/87 1