nd_uuid_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nd_uuid_store(9) β€” Kernel API Manual πŸ’…

okay so bestie, this is the Kernel API Manual page for the common implementation that handles writing uuid sysfs attributes. lowkey iconic kernel business ✨


🌸 NAME 🌸

nd_uuid_store β€” common implementation for writing uuid sysfs attributes 🫢


✨ SYNOPSIS ✨

int nd_uuid_store (struct device *dev , uuid_t **uuid_out , const char *buf , size_t len );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” container device for the uuid property πŸ’–
  • uuid_out β€” uuid buffer to replace ✨
  • buf β€” raw sysfs buffer to parse πŸ¦‹
  • len β€” -- undescribed -- πŸ’€ yes, that is literally what the page says

πŸ’« DESCRIPTION πŸ’«

Enforce that uuids can only be changed while the device is disabled (driver detached) πŸ”’

LOCKING: expects device_lock is held on entry β€” fr fr, don’t forget this part πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯


xoxo, your fave kernel bestie πŸ’– β€” source path: ./drivers/nvdimm Β· version date: October 2026 Β· page: nd_uuid_store(9)

πŸ“¦ where this page comes from