rewrote it completely; it emulates now nearly the usual mount(8)