Commit 18f1a636 authored by Michael Shigorin's avatar Michael Shigorin

bin/mktmpdir: grok NFS root

"df -l" is going to hurt (or at least spam) if it's a diskless node; "df -P" helps maintain output parseability. So be it.
parent 809ae4d9
......@@ -43,7 +43,7 @@ choose_tmpdir() {
for i in "$@"; do
[ -d "$i" -a -w "$i" ] || continue
echo -n "$i "
df -Tl "$i" | tail -1
df -PT "$i" | tail -1
done \
| sort -unk6 \
| while read dir dev fstype size used free percent mnt; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment