libnvme(9)
π libnvme(9) β API Manual
okay so bestie, welcome to the libnvme API manual β¨ this one's a struct page, and it's a little niche but honestly kind of iconic once you get it π«Ά
πΈ NAME πΈ
struct tcg_l0_data_removal β the Data Removal Mechanism feature, and it lives at feature code 0x0404 π«
β¨ SYNOPSIS β¨
here's the whole vibe, literally copied character-for-character so you can trust it π
struct tcg_l0_data_removal {
__u8 rsvd0;
__u8 flags;
__u8 removal_mechanism;
__u8 format;
__be16 time_mechanism_bit0;
__be16 time_mechanism_bit1;
__be16 time_mechanism_bit2;
__u8 rsvd10[4];
__be16 time_mechanism_bit5;
__u8 rsvd16[16];
};
π Members π
bestie there are exactly ten things in here, no skipping, we're doing all of them π
rsvd0β reserved π«₯ like it's just sitting there, don't touch itflagsβ the flags, seeenum tcg_l0_data_removal_flagsπ©removal_mechanismβ the supported mechanisms, seeenum tcg_l0_data_removal_mechanismπ§Ήformatβ the data removal time format β±οΈtime_mechanism_bit0β data removal time for mechanism bit 0 πtime_mechanism_bit1β data removal time for mechanism bit 1 πtime_mechanism_bit2β data removal time for mechanism bit 2 πrsvd10β reserved π (an array of 4, but still reserved, so hands off)time_mechanism_bit5β data removal time for mechanism bit 5 πrsvd16β reserved π (16 bytes of reserved, which is a lot of reserved, ngl)
π‘ notice the time mechanism bits jump from0,1,2straight to5? that's what the original says, so that's what you get β no inventing bit 3 and bit 4 over here, not on my watch π
π Description π
this struct is straight out of TCG Storage Opal SSC 2.02, section 3.1.1.6 π periodt. that's the whole description, it's giving "confident and brief" and honestly? ate π
π¦ SEE ALSO π¦
hmm, the original page doesn't list any SEE ALSO references, so there's literally nothing to point you at β we're just vibing with the struct itself π§
and that's the page! π this gem came from the API Manual for libnvme(9), dated October 2026, and the star of the show is struct tcg_l0_data_removal π mwah, ily, go read a real manpage now ππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms