ldm_compare_privheads(9)
π ldm_compare_privheads(9) β like, the whole page, bestie
okay so real quick β this is a page from the Kernel API Manual. Yes, that kernel. Sit down, hydrate, let's get into it π«Ά
β¨ NAME β¨
ldm_compare_privheads β the function that compares two privhead objects. That's it. That's the whole job. Iconic for being uncomplicated π
πΈ SYNOPSIS πΈ
bool ldm_compare_privheads (const struct privhead *ph1 , const struct
privhead *ph2 );
so you hand it two pointers, both const struct privhead *, and it gives you back a bool. no drama, no side quests, no cap β¨
π ARGUMENTS π
ph1β the first privhead. the main character of the pair π«Άph2β the second privhead. also main character energy, but like, the other one π
π¦ DESCRIPTION π¦
This compares the two privhead structures ph1 and ph2. literally what it says on the tin. the way that a compare function just compares? obsessed π that's the entire description and honestly? respect the hustle π
π RETURN π
so this section is here, and it isβ¦ empty π like, the heading showed up to the party and nothing else came. no return values listed, no explanation, nothing. i'm not gonna invent one either, because that's not my business π what you see is what the page gives you β¨
π SEE ALSO π
the friend group π all of these live in the kernel file ./block/partitions/ldm.c:
ldm_parse_privhead(9)ldm_parse_tocblock(9)ldm_parse_vmdb(9)ldm_compare_tocblocks(9)ldm_validate_privheads(9)ldm_validate_tocblocks(9)ldm_validate_vmdb(9)ldm_validate_partition_table(9)ldm_get_disk_objid(9)ldm_create_data_partitions(9)ldm_relative(9)ldm_get_vnum(9)ldm_get_vstr(9)ldm_parse_cmp3(9)ldm_parse_dgr3(9)ldm_parse_dgr4(9)ldm_parse_dsk3(9)ldm_parse_dsk4(9)ldm_parse_prt3(9)ldm_parse_vol5(9)ldm_parse_vblk(9)ldm_ldmdb_add(9)ldm_frag_add(9)ldm_frag_free(9)ldm_frag_commit(9)ldm_get_vblks(9)ldm_free_vblks(9)ldm_partition(9)
that's twenty-eight besties. count them. i did. π
ngl, this page is short and sweet β but like, don't skip the const. it's there for a reason π
and that's a wrap π§ this page hails from ./block/partitions, dated October 2026, and it's filed under ldm_compare_privheads(9). slay, go compare some privheads, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms