alloc_lvn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

alloc_lvn(9)

Okay bestie, welcome to the Kernel API Manual page for alloc_lvn(9) β€” it’s short, it’s mysterious, and two whole arguments are just… not described πŸ˜­πŸ’…

πŸŽ€ NAME πŸŽ€

alloc_lvn - reads logical volume names @state @lba ✨

🌸 SYNOPSIS 🌸

struct lvname * alloc_lvn (struct parsed_partitions *state , u32 lba );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the manpage literally says -- undescribed --, so that’s all the tea we have πŸ™ˆ
  • lba β€” also -- undescribed --, no cap 😭

πŸ’– DESCRIPTION πŸ’–

On success you get lvn back; on error you get NULL. It allocates space for lvn and fills it with disk blocks at lba β€” that’s the whole plot, and honestly it’s enough πŸ‘‘

⭐ NOTES ⭐

remember to free lvn when you’re done! 🫢

Please don’t forget, bestie πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


Signing off from ./block/partitions in October 2026 on alloc_lvn(9) πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from