projects
/
packages
/
xfsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ce4484
)
Open target file in read only mode (fixes case of running it from non-root for root...
author
Arkadiusz Miśkiewicz
<arekm@maven.pl>
Thu, 9 Dec 2021 16:05:34 +0000
(17:05 +0100)
committer
Arkadiusz Miśkiewicz
<arekm@maven.pl>
Thu, 9 Dec 2021 16:05:34 +0000
(17:05 +0100)
xfs_lsprojid
patch
|
blob
|
blame
|
history
diff --git
a/xfs_lsprojid
b/xfs_lsprojid
index 75a847d98217709957590e69d66ae4b7bdd9bc7d..ff630a4030d2bea587d17609b0c02dfd197c769c 100644
(file)
--- a/
xfs_lsprojid
+++ b/
xfs_lsprojid
@@
-2,7
+2,7
@@
# simple wrapper to show project id for specified paths, arekm@maven.pl 20111117
-xfs_io -p "$0" -c "stat" $@ | awk '
+xfs_io -
r -
p "$0" -c "stat" $@ | awk '
/^fd\.path =/ { projid=""; path=$3; gsub(/^\"/, "", path); gsub(/\"$/, "", path); }
/^fsxattr\.projid =/ { projid=$3; print path ": " projid; }
'
This page took
0.047534 seconds
and
4
git commands to generate.