blob: d70d30add9bbc12f0be53d0045afa6db24fb71ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <kernel/handle.h>
struct vfs_mount {
struct vfs_mount *prev;
char *prefix;
size_t prefix_len;
struct handle handle;
};
// 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);
|