Skip to content

Filesystem‐Plugin

Lucca Greschner edited this page Jul 14, 2023 · 1 revision

Protocol of the Filesystem-Plugin

The Filesystem-Plugin only supports on target: FS.Partitions. It returns the following reply:

[
    {
        "name": <Name_of_the_block_device>,
        "size": <Size_of_the_block_device_in_KB>,
        "partitions": [
            {
                "name": <Name_of_the_partition>,
                "size": <Size_of_the_partition_in_KB>,
                "used": <Used_KB>,
                "type": <Type_as_declared_in_kernel>,
                "filesystem": <Type_as_declared_in_mountpoints>,
                "mount_points": [
                    {
                        "Path": <Path_where_partition_is_mounted>,
                        "Filesystem": <Filesystem_this_particular_mount_point_is_mounted_as>,
                        "Options": [
                            ["Option_key", "Option_value"], ...
                        ]
                    }, ...
                ]
            }, ...
        ]
    }, ...
]