static PARSE_PARTITIONS_LINUX_COMMANDLINE_PARAMETER(partitions) {
        const pairs = partitions.split(":");
        const output = {};

        pairs.forEach(pair => {
            const splitPair = pair.split("@");

            //For consistency with other parameters such as "root", we prepend the "/dev/" here
            output[`/dev/${splitPair[1]}`] = splitPair[0];
        });

        return output;
    }
The format can be found in /block/partitions/cmdline.c of the linux kernel source

@param {string} partitions