Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Jacklull
k3s
Commits
19fd7e38
Commit
19fd7e38
authored
Oct 30, 2023
by
Samuel Mutel
Committed by
Brad Davidson
Nov 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enh: Force umount for NFS mount (like with longhorn)
Signed-off-by:
Samuel Mutel
<
12967891+smutel@users.noreply.github.com
>
parent
b47cbbfd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
install.sh
install.sh
+1
-1
install.sh.sha256sum
install.sh.sha256sum
+1
-1
No files found.
install.sh
View file @
19fd7e38
...
@@ -770,7 +770,7 @@ do_unmount_and_remove() {
...
@@ -770,7 +770,7 @@ do_unmount_and_remove() {
set +x
set +x
while read -r _ path _; do
while read -r _ path _; do
case "
$path
" in
$1
*) echo "
$path
" ;; esac
case "
$path
" in
$1
*) echo "
$path
" ;; esac
done < /proc/self/mounts | sort -r | xargs -r -t -n 1 sh -c 'umount "
$0
" && rm -rf "
$0
"'
done < /proc/self/mounts | sort -r | xargs -r -t -n 1 sh -c 'umount
-f
"
$0
" && rm -rf "
$0
"'
set -x
set -x
}
}
...
...
install.sh.sha256sum
View file @
19fd7e38
8
c71108b5602b40ab6a9e60fe66403302b458046cb8afd1980d3c183d25278ac
install.sh
8
82d7386b690cc375ed20f48a257907aa9a2d5269d0a099518bbdde35fb0d8c4
install.sh
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