LFS-PATH2FID(1)
β¨ lfs-path2fid(1) β¨
okay bestie so this is a page from the Lustre User Utilities manual π
like the actual lfs-path2fid(1) one, and I'm gonna walk you through it like we're texting at 2am π«Ά
πΈ NAME πΈ
lfs-path2fid β print the file identifier for a given pathname
likeβ¦ you give it a path, it gives you a FID. it's giving matchmaker but for files π
π¦ SYNOPSIS π¦
lfs path2fid DIRECTORY|FILE...
notice the ... bestie β you can throw multiple paths at it and it'll handle each one, no cap π
π DESCRIPTION π
lfs path2fid prints the File Identifier for the FILE or DIRECTORY you specified. that's the whole job. she's focused, she's efficient, she ate π
and like, the FID is unique for each file in the filesystem</>, and β this is the iconic part β it is never reused for other files if the file is deleted. so once a FID is taken, that slot is retired forever. no recycling era, only main character energy π
you can also grab the FID for regular files via lfs getstripe -F if that's more your vibe β¨
π OPTIONS π
--parentsβ Print out the parent FID and name(s) of the given entries. If an entry has multiple links, these are displayed on a single line, tab-separated. (yes, multiple links, one line, tabs doing the separating β organized queen behavior fr fr π )
π EXAMPLES π
look at her go β¨
$ lfs path2fid /mnt/lustre/etc/hosts
[0x200000403:0x11f:0x0]
and with the --parents glow-up:
$ lfs path2fid --parents /mnt/lustre/etc/hosts
[0x200000403:0x101:0x0]/hosts
see how the parent FID showed up in front and the name tacked on after the slash?? obsessed ππ«Ά
β AVAILABILITY β
lfs path2fid is part of the lustre(7) filesystem package since release 1.7.0. she's been around, she's a legacy icon π
π SEE ALSO π
okay that's the whole page, you're welcome π§ this dropped from the Lustre crew on 2025-01-24 β go forth and path2fid something, bestie, and remember: the FID never gets reused, and neither should you ever accept mid documentation πβ¨
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms