Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
lipck
Commits
c3e9db7e
Commit
c3e9db7e
authored
Sep 26, 2015
by
Julian Rother
Browse files
patches: Actually fix the overlayfs patch
parent
64edd185
Changes
1
Hide whitespace changes
Inline
Side-by-side
patches/initrd/unionstackmount1310.patch
View file @
c3e9db7e
...
...
@@ -54,7 +54,7 @@
+ mkdir -p "${overlay_mount_dir}"
+ mount -t ${UNIONFS} -o "lowerdir=${mounts}" root "${overlay_mount_dir}"
+ # Stacking multiple overlays leads to "No such device" errors upon access
+ mount -t ${UNIONFS} -o "lowerdir=${
overlay_mount_dir}
,upperdir=/cow/upper,workdir=/cow/work" cowroot "${rootmnt}"
+ mount -t ${UNIONFS} -o "lowerdir=${
mounts}"
,upperdir=/cow/upper,workdir=/cow/work" cowroot "${rootmnt}"
+ lower="${overlay_mount_dir}"
;;
esac
...
...
Write
Preview
Supports
Markdown
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