rem: sys_setcwd("/");
add: sys_setcwd(-1, "/");
context: vfs_bootstrap_all_filesystems(void){	int err;	int fd;	// bootstrap the root filesystem	bootstrap_rootfs();	err = sys_mount("/", NULL, "rootfs", NULL);	if (err < 0)		panic("error mounting rootfs!\n");	sys_setcwd("/");	// bootstrap the bootfs	bootstrap_bootfs();	sys_create_dir("/boot",0755);	err = sys_mount("/boot", NULL, "bootfs", NULL);	if (err < 0)		panic("error mounting bootfs\n");	// bootstrap the devfs	bootstrap_devfs();	sys_create_dir("/dev",0755);	err = sys_mount("/dev", NULL, "devfs", NULL);	if (err < 0)		panic("error mounting devfs\n");	fd = sys_open_dir("/boot/addons/fs");	if (fd >= 0) {		char buffer[sizeof(struct dirent) + 1 + SYS_MAX_NAME_LEN];		struct dirent *dirent = (struct dirent *)buffer;		ssize_t length;		while ((length = sys_read_dir(fd, dirent, sizeof(buffer), 1)) > 0)			vfs_load_fs_module(dirent->d_name);		sys_close(fd);	}	return B_NO_ERROR;}