dmmp_...e_get(3)

πŸ“¦
version 0.15.1 Β· 3 versions
, in arch rolling, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ dmmp_path_blk_name_get ✨

okay bestie, welcome to the Device Mapper Multipath API β€” this is the libdmmp Manual and we're looking at dmmp_path_blk_name_get, section dmmp_...e_get(3) πŸ’–. it's giving niche but iconic, fr fr.


πŸŽ€ NAME πŸŽ€

dmmp_path_blk_name_get β€” Retrieve block name. πŸ¦‹


🌸 SYNOPSIS 🌸

const char * dmmp_path_blk_name_get (struct dmmp_path *dmmp_p);

πŸ’… ARGUMENTS πŸ’…

  • dmmp_p β€” Pointer of 'struct dmmp_path'. And bestie, listen: if this pointer is NULL, your program will be terminated by assert. no cap, that's not a vibe, that's a whole crash. πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

Retrieve block name of certain path. The example of block names are "sda", "nvme0n1". literally just the cute little block name, that's the whole assignment. ✨


πŸ‘‘ RETURN πŸ‘‘

const char *. No need to free this memory β€” the resources will get freed when dmmp_mpath_array_free. so don't stress about cleanup, she handles herself. 🫢


kisses, this was the <strong>dmmp_path_blk_name_get</strong> page from <strong>June 2025</strong>, part of the libdmmp / Device Mapper Multipath API manual. mwah πŸ’œπŸŒˆ