device_add_disk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 device_add_disk(9) β€” Kernel API Manual 🫢

okay so bestie, welcome to the Kernel API Manual page for device_add_disk(9) β€” it's giving kernel-registration realness, and we're gonna read it together, no cap ✨


🌸 NAME 🌸

device_add_disk β€” add disk information to kernel list


πŸŽ€ SYNOPSIS πŸŽ€

int device_add_disk (struct device *parent , struct gendisk *disk ,
       const struct attribute_group **groups );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • parent β€” parent device for the disk πŸ’–
  • disk β€” per-device partitioning information πŸ’½
  • groups β€” Additional per-device sysfs groups πŸŽ€

✨ DESCRIPTION ✨

This function registers the partitioning information in disk with the kernel. that's the whole vibe, periodt πŸ’…


πŸ’œ SEE ALSO πŸ’œ


and that's the page, bestie 🫢 this cutie came from ./block, dated October 2026, and it's literally the device_add_disk(9) page β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from