Linux supports a set of different disk label or partition table formats. For example, Sun Disk Labels and MS-DOS partition tables are both disk labels that contain (largely) the same information (partitioning) in different formats. Please note, I'm not referring to filesystems like ext{2,3,4} but disklabels like the msdos, GPT, Sun Disk Label, etc.
I'd like to add support for a disk label format that's not currently in the kernel, but it looks like (from browsing fs/partitions/
) that these are built into the kernel itself, and can't be compiled as modules.
Is there any sort of kernel API I could use to add support for different disk labels?
Will I have to resort to losetup
instead?