blob: 51990a1e93f19daa1e0bd83a05d20368debe0ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <kernel/fd.h>
struct vfs_mount {
struct vfs_mount *prev;
char *prefix;
size_t prefix_len;
struct fd fd;
};
// prepares init's filesystem view
struct vfs_mount *vfs_mount_seed(void);
struct vfs_mount *vfs_mount_resolve(
struct vfs_mount *top, const char *path, size_t path_len);
|