Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
18f1a636
Commit
18f1a636
authored
Jul 16, 2012
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mktmpdir
bin/mktmpdir
+1
-1
No files found.
bin/mktmpdir
View file @
18f1a636
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment