| LFS-PATH2FID(1) | Lustre User Utilities | LFS-PATH2FID(1) |
NAME
lfs-path2fid - print the file identifier for a given pathname
SYNOPSIS
lfs path2fid |
DIRECTORY|FILE... |
DESCRIPTION
lfs path2fid prints the File Identifier for the specified FILE or DIRECTORY. The FID is unique for each file in the filesystem, and is never reused for other files if the file is deleted.
The FID is also available for regular files via lfs getstripe -F.
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.
EXAMPLES
$ lfs path2fid /mnt/lustre/etc/hosts [0x200000403:0x11f:0x0] $ lfs path2fid --parents /mnt/lustre/etc/hosts [0x200000403:0x101:0x0]/hosts
AVAILABILITY
lfs path2fid is part of the lustre(7) filesystem package since release 1.7.0
SEE ALSO
lfs(1), lfs-fid2path(1), lfs-getstripe(1), llapi_path2fid(3), llapi_path2parent(3), lustre(7)
| 2025-01-24 | Lustre |