]> git.pld-linux.org Git - packages/xfsprogs.git/blame - xfs_lsprojid
add static_libs bcond
[packages/xfsprogs.git] / xfs_lsprojid
CommitLineData
a32e9a39
AM
1#!/bin/sh
2
3# simple wrapper to show project id for specified paths, arekm@maven.pl 20111117
4
9f476f95 5xfs_io -r -p "$0" -c "stat" $@ | awk '
a32e9a39
AM
6/^fd\.path =/ { projid=""; path=$3; gsub(/^\"/, "", path); gsub(/\"$/, "", path); }
7/^fsxattr\.projid =/ { projid=$3; print path ": " projid; }
8'
This page took 0.543516 seconds and 5 git commands to generate.