public function addDirectory($path, $mountpoint='/', $writable=false, $priority=0) {
        $mounter = new Mounter\DirectoryMounter($path, $mountpoint);
        $mounter->setPriority($priority);
        $mounter->setIsWritable($writable);
        $this->nodes[] = $mounter;
        return $this;
    }