~aleteoryx/muditaos

ref: e7931b2153fa783ce6efac45b98e3b12382fb7c0 muditaos/module-vfs/include/user/purefs/vfs_subsystem.hpp -rw-r--r-- 570 bytes
e7931b21 — breichel [EGD-4918] Change network scan for operators 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once
#include <memory>
#include <purefs/fs/filesystem.hpp>
#include <purefs/blkdev/disk_manager.hpp>

namespace purefs::subsystem
{
    auto initialize() -> std::tuple<std::shared_ptr<blkdev::disk_manager>, std::shared_ptr<fs::filesystem>>;
    auto disk_mgr() -> std::shared_ptr<blkdev::disk_manager>;
    auto vfs_core() -> std::shared_ptr<fs::filesystem>;
    auto mount_defaults() -> int;
} // namespace purefs::subsystem