CXL-ZERO-LABELS(1)
π
cxl-zero-labels(1) β the cxl manual, bestie edition β¨
okay so this is cxl-zero-labels(1) from the cxl manual page set, and it's literally the "factory reset but just for labels" girlie. let's get into it π
πΈ NAME πΈ
cxl-zero-labels β zero out the label area on a set of memdevs. that's it, that's the whole vibe. it wipes the labels. slay. β¨
π¦ SYNOPSIS π¦
cxl zero-labels <mem0> [<mem1>..<memN>] [<options>]
π DESCRIPTION π
okay so real talk β the region label area is this smol persistent partition of capacity that exists on some CXL memory devices. not all of them, just some. and what's it for? it's used to configure β or figure out β the set of memory devices that are participating in different interleave sets. iykyk π«Ά
so what does this command do? it resets the device to its default state by deleting all the labels. every single one. gone. it's giving "clean slate era" and honestly? iconic. π
β¨ OPTIONS β¨
<memory device(s)>β amemXdevice name, or a memdev id number. restrict the operation to the specified memdev(s). and if you don't wanna restrict anything at all, you can pass the keywordallto indicate the lack of any restriction. freedom, basically. ποΈ-S,--serialβ rather than a memdev id number, interpret the<memdev>argument(s) as a list of serial numbers. so like, serial girlies instead of id number girlies. π-s,--size=β limit the operation to the given number of bytes. and a size of0indicates to operate over the entire label capacity. so0= go off, do the whole thing. π-O,--offset=β begin the operation at the given offset into the label area. like starting a book at chapter 3, except it's bytes. π-vβ turn on verbose debug messages in the library (iflibcxlwas built with logging and debug enabled). lowkey only works if your build said yes, so don't come for me if it's quiet. π
π COPYRIGHT π
Copyright Β© 2016 - 2022, Intel Corporation. License GPLv2: GNU GPL version 2 http://gnu.org/licenses/gpl.html. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. fr fr, read the license, it's not a joke bestie π
π§ SEE ALSO π§
cxl-read-labels(1)cxl-write-labels(1)CXL-2.0section9.13.2
okay that's the page!! π this version came from source/version cxl, dated 2026-06-30 β go forth and zero those labels responsibly, bestie πβ¨πΈ
π¦ where this page comes from
- arch rolling: ndctl 85-1 Β· LGPL-2.1-only AND GPL-2.0-only AND CC0-1.0 AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms