libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NAME πŸ’–

Okay so this is libnvme(9), the API manual, and today's main character is struct tcg_l0_geometry β€” the Geometry Reporting feature. Its feature code is 0x0003. Slay.

✨ SYNOPSIS ✨

Here's the struct in all its glory, no cap:

struct tcg_l0_geometry {
    __u8 align;
    __u8 rsvd1[7];
    __be32 logical_block_size;
    __be64 alignment_granularity;
    __be64 lowest_aligned_lba;
 };

🫢 Members 🫢

  • align β€” the flags, bestie; see enum tcg_l0_geometry_flags.
  • rsvd1 β€” reserved. literally just vibing in the padding.
  • logical_block_size β€” the logical block size, periodt.
  • alignment_granularity β€” the alignment granularity, iykyk.
  • lowest_aligned_lba β€” the lowest aligned LBA.

🌸 Description 🌸

This is TCG Opal SSC 2.02, section 3.1.1.4. That's the whole lore.


October 2026 Β· struct tcg_l0_geometry Β· libnvme(9) β€” mwah, bestie πŸ’…βœ¨

πŸ“¦ where this page comes from