Home
last modified time | relevance | path

Searched full:filesystem (Results 1 – 25 of 1541) sorted by relevance

12345678910>>...62

/openbmc/estoraged/include/
H A DfilesystemInterface.hpp5 #include <filesystem>
12 * @brief Interface to the filesystem operations that eStoraged needs.
13 * @details This class is used to mock out the filesystem operations.
27 /** @brief Runs the mkfs command to create the filesystem.
39 * @param[in] source - device where the filesystem is located.
40 * @param[in] target - path to where the filesystem should be mounted.
43 * @param[in] data - options for specific filesystem type, can be NULL
56 * @param[in] target - path location where the filesystem is mounted.
63 /** @brief Wrapper around std::filesystem::create_directory.
70 virtual bool createDirectory(const std::filesystem::path& p) = 0;
[all …]
H A Destoraged.hpp17 #include <filesystem>
26 using estoraged::Filesystem;
66 std::make_unique<Filesystem>());
76 /** @brief Format the LUKS encrypted device and create empty filesystem.
79 * @param[in] type - filesystem type, e.g. ext4
90 /** @brief Unmount filesystem and lock the LUKS device.
94 /** @brief Unlock device and mount the filesystem.
111 /** @brief Get the mount point for the filesystem on the LUKS device. */
124 /** @brief Mount point for the filesystem. */
141 /** @brief Pointer to filesystem interface object.
[all …]
/openbmc/linux/Documentation/filesystems/
Dfuse.rst
Dext2.rst
Dqnx6.rst
Docfs2-online-filecheck.rst
Dhfs.rst
/openbmc/docs/architecture/code-update/
H A Dflash-layout.md1 # OpenBMC Flash Layout and Filesystem Documentation
5 how the Linux filesystem is setup, filesystem layouts, overlays, boot options,
30 Before starting execution, systemd requires the root filesystem and all binaries
34 ### Root filesystem
36 For storage of the root filesystem, a read-only volume was selected. This allows
37 the majority of the filesystem content, including all executables and static
38 data files, to be stored in a read-only filesystem image. Replacing read-only
39 filesystem images allows the space used by the content to be confirmed at build
43 An effort has been made to adhere to the Filesystem Hierarchy Standard [FHS][].
50 read-only filesystem content. This applies to systems with limited attached
[all …]
/openbmc/linux/fs/ext4/
DKconfig
/openbmc/estoraged/src/test/
H A Dutil_test.cpp7 #include <filesystem>
30 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
44 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
57 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
78 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
99 EXPECT_TRUE(std::filesystem::remove(testFileName)); in TEST()
115 std::filesystem::create_directories("abc/device"); in TEST()
123 std::filesystem::create_directories("def/device"); in TEST()
126 std::filesystem::create_directories("mmcblk0/device"); in TEST()
133 std::filesystem::path deviceFile, sysfsDir; in TEST()
[all …]
/openbmc/telemetry/src/
H A Dpersistent_json_storage.cpp11 bool isAnySymlink(const std::filesystem::path& path) in isAnySymlink()
16 if (std::filesystem::is_symlink(currentPath)) in isAnySymlink()
44 std::filesystem::create_directories(path.parent_path(), ec); in store()
82 auto removed = std::filesystem::remove(path, ec); in remove()
93 std::filesystem::remove(path.parent_path(), ec); in remove()
102 if (!std::filesystem::exists(path)) in load()
128 if (!std::filesystem::exists(directory)) in list()
134 std::filesystem::recursive_directory_iterator(directory)) in list()
138 auto item = std::filesystem::relative(p.path(), directory); in list()
146 std::filesystem::path PersistentJsonStorage::join( in join()
[all …]
/openbmc/telemetry/tests/src/
H A Dtest_persistent_json_storage.cpp19 ASSERT_FALSE(std::filesystem::exists(directory)); in SetUpTestSuite()
24 if (std::filesystem::exists(directory)) in TearDown()
26 std::filesystem::remove_all(directory); in TearDown()
39 std::filesystem::temp_directory_path() / "telemetry-tests");
120 const std::filesystem::path& originalFile, in setupSymlinks()
124 std::filesystem::path(directory) / "report/symlink.json"; in setupSymlinks()
125 std::filesystem::create_directories( in setupSymlinks()
126 std::filesystem::path(directory) / "report"); in setupSymlinks()
127 std::filesystem::create_symlink(originalFile, linkPath); in setupSymlinks()
135 const std::filesystem::path& originalFile, in setupSymlinks()
[all …]
/openbmc/dbus-sensors/src/tests/
H A Dtest_Utils.cpp9 #include <filesystem>
21 std::filesystem::path hwmonDir;
22 std::filesystem::path peciDir;
33 hwmonDir = std::filesystem::path(testDir) / "hwmon"; in TestUtils()
34 std::filesystem::create_directory(hwmonDir); in TestUtils()
36 std::filesystem::create_directory(hwmonDir / "hwmon10"); in TestUtils()
48 std::filesystem::remove_all(testDir); in ~TestUtils()
58 peciDir = std::filesystem::path(testDir) / "peci"; in createPECIDir()
61 std::filesystem::create_directories(peci0); in createPECIDir()
69 std::filesystem::create_directories(devDir); in createPECIDir()
[all …]
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dread-only-rootfs.rst3 Creating a Read-Only Root Filesystem
7 root filesystem's write permissions (i.e. you need a read-only root
8 filesystem). Or, perhaps you are running the device's operating system
14 Supporting a read-only root filesystem requires that the system and
15 applications do not try to write to the root filesystem. You must
18 filesystem.
20 Creating the Root Filesystem
23 To create the read-only root filesystem, simply add the
42 Post-Installation Scripts and Read-Only Root Filesystem
47 image can be run at the time when the root filesystem is created during
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dimage_verify.cpp34 Signature::Signature(const std::filesystem::path& imageDirPath, in Signature()
36 const std::filesystem::path& signedConfPath) : in Signature()
40 std::filesystem::path file(imageDirPath / MANIFEST_FILE); in Signature()
53 if (!std::filesystem::is_directory(signedConfPath)) in getAvailableKeyTypesFromSystem()
68 std::filesystem::recursive_directory_iterator(signedConfPath)) in getAvailableKeyTypesFromSystem()
85 std::filesystem::path hashpath(signedConfPath / key / HASH_FILE_NAME); in getKeyHashFileNames()
86 std::filesystem::path keyPath(signedConfPath / key / PUBLICKEY_FILE_NAME); in getKeyHashFileNames()
104 std::filesystem::path publicKeyFile(imageDirPath / PUBLICKEY_FILE_NAME); in verify()
108 std::filesystem::path file(imageDirPath); in verify()
113 std::filesystem::path sigFile(imageDirPath); in verify()
[all …]
H A Dfunctions.hpp1 #include <filesystem>
28 std::function<void(const std::filesystem::path&, std::error_code&)>;
30 std::function<void(const std::filesystem::path&,
31 const std::filesystem::path&, const ErrorCallbackType&)>;
37 void writeLink(const std::filesystem::path&, const std::filesystem::path&,
39 void findLinks(const std::filesystem::path&, const std::vector<std::string>&,
48 std::filesystem::path, ErrorCallbackType, sdeventplus::Event&);
51 std::filesystem::path, sdeventplus::Event&);
/openbmc/phosphor-logging/test/openpower-pels/
H A Dpel_utils.hpp3 #include <filesystem>
22 std::filesystem::remove_all( in TearDownTestCase()
23 std::filesystem::path{pelIDFile}.parent_path()); in TearDownTestCase()
26 static std::filesystem::path pelIDFile;
41 std::filesystem::remove_all( in TearDown()
42 std::filesystem::path{pelIDFile}.parent_path()); in TearDown()
43 std::filesystem::remove_all(repoPath); in TearDown()
44 std::filesystem::remove_all(registryPath); in TearDown()
47 static std::filesystem::path pelIDFile;
48 static std::filesystem::path repoPath;
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/health/
H A Dphosphor-health-monitor_%.bbappend5 SRC_URI += "file://clean-up-filesystem \
6 file://clean-up-filesystem.service \
8 STORAGE_CRIT_TGT = "clean-up-filesystem.service"
15 clean-up-filesystem.service \
19 …install -m 0644 ${UNPACKDIR}/clean-up-filesystem.service ${D}${systemd_system_unitdir}/clean-up-fi…
21 install -m 0755 ${UNPACKDIR}/clean-up-filesystem ${D}${libexecdir}/${PN}/
/openbmc/pldm/test/
H A Dtest_instance_id.hpp8 #include <filesystem>
19 std::filesystem::remove(dbPath); in ~TestInstanceIdDb()
23 static std::filesystem::path createDb() in createDb()
31 std::filesystem::path dbPath(dbName); in createDb()
32 std::filesystem::resize_file( in createDb()
38 TestInstanceIdDb(std::filesystem::path dbPath) : in TestInstanceIdDb()
42 std::filesystem::path dbPath;
/openbmc/u-boot/fs/fat/
H A DKconfig2 bool "Enable FAT filesystem support"
5 (FAT) filesystem. FAT filesystem is a legacy, lightweight filesystem.
10 bool "Enable FAT filesystem write support"
14 existing FAT filesystem partition.
/openbmc/linux/Documentation/filesystems/ext4/
Dmmp.rst
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Ditem_updater_ubi.cpp15 #include <filesystem>
67 for (const auto& iter : std::filesystem::directory_iterator(MEDIA_DIR)) in processPNORImage()
82 if (!std::filesystem::is_regular_file(pnorTOC)) in processPNORImage()
108 auto path = std::filesystem::path(SOFTWARE_OBJPATH) / id; in processPNORImage()
159 if (!std::filesystem::is_directory(roDir)) in processPNORImage()
179 auto file = std::filesystem::path(filePath) / squashFSImage; in validateSquashFSImage()
180 if (std::filesystem::is_regular_file(file)) in validateSquashFSImage()
218 if (std::filesystem::is_directory(patchDir)) in reset()
220 for (const auto& iter : std::filesystem::directory_iterator(patchDir)) in reset()
222 std::filesystem::remove_all(iter); in reset()
[all …]
/openbmc/linux/Documentation/admin-guide/
Dxfs.rst
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DVolume.interface.yaml9 Format a LUKS encrypted device and create a filesystem.
18 Type of filesystem, e.g. ext2, ext3, ext4, vfat.
38 Unmount the filesystem, lock the volume, and remove sensitive data
46 Activate the volume and mount the filesystem.
111 Type of filesystem used on the storage device.
115 Filesystem type ext2
118 Filesystem type ext3
121 Filesystem type ext4
124 Filesystem type vfat
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_functions.cpp9 #include <filesystem>
261 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
264 std::filesystem::path linkPath = workdir / "link"; in TEST()
265 std::filesystem::path targetPath = workdir / "target"; in TEST()
269 std::filesystem::remove_all(workdir); in TEST()
276 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
284 std::filesystem::remove_all(workdir); in TEST()
291 std::filesystem::path workdir = mkdtemp(&tmpl[0]); in TEST()
293 std::filesystem::path callbackPath; in TEST()
299 std::filesystem::create_directory(targetPath); in TEST()
[all …]

12345678910>>...62