dm_copy_name_and_uuid(9)
π dm_copy_name_and_uuid(9) π
okay so welcome to the Kernel API Manual, bestie β section 9, we're in the kernel-adjacent group chat now β¨ This little icon is literally about copying a mapped device's name & uuid into buffers you supply π«Ά
β¨ NAME β¨
dm_copy_name_and_uuid β copy mapped device name & uuid into supplied buffers π
π¦ SYNOPSIS π¦
int dm_copy_name_and_uuid (struct mapped_device *md , char *name , char *uuid );
π ARGUMENTS π
mdβ pointer tomapped_deviceπnameβ buffer (sizeDM_NAME_LEN) for name πuuidβ buffer (sizeDM_UUID_LEN) for uuid or empty string if uuid not defined π¦
bestie, those buffer sizes are not a vibe check you can skip βDM_NAME_LENforname,DM_UUID_LENforuuid, periodt π
π SEE ALSO π
- Kernel file
./drivers/md/dm-ioctl.canddm_early_create(9)β
mwah π this page is chillin' under ./drivers/md, dated October 2026, and it's dm_copy_name_and_uuid(9) signing off β slay, bye! πΈ
π¦ 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