1 .TH llapi_rmfid 3 "2014 Oct 13" "Lustre User API"
3 llapi_rmfid \- Remove files by their FIDs in Lustre.
6 .B #include <lustre/lustreapi.h>
8 .BI "int llapi_rmfid(const char *" path ", struct fid_array *" fa ");
9 .BI "int llapi_rmfid_at(int " fd ", struct fid_array *" fa ");
18 Lustre files by FIDs stored in
20 All file's hardlinks are subject to removal. This functionality is available
21 only for root or regular users on filesystems mounted with
23 mount option to delete files that they own and are in a directory in which
24 they have write permission.
29 It tries to remove Lustre files by FIDs stored in
31 where path or device is pointed by an already verifed
39 return 0 on success or a negative errno value on failure. Result for each file
40 is stored in the corresponding
41 .I fa->fa_fid[N].f_ver
50 file is open and can't be removed
53 The file cannot be open by user or CAP_DAC_READ_SEARCH is not granted.
59 Not enough memory to process the request
62 .BR llapi_rmfid_at (3)