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