diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2016-09-05 13:24:27 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2016-09-05 13:39:51 -0500 |
commit | d5db5489be135ae9295e378e789b4b7b13367fdd (patch) | |
tree | 043a4860abd5677fdf4f46ad8d5f3e340996c189 /init.d | |
parent | d06db93d5954460668d09cf6ef2fc401ee9d981c (diff) |
init.d/swap: do not unmount all tmpfs file systems
X-Gentoo-Bug: 568162
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=568162
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/swap.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/init.d/swap.in b/init.d/swap.in index 4fb2b350..c030ad80 100644 --- a/init.d/swap.in +++ b/init.d/swap.in @@ -29,12 +29,6 @@ start() stop() { ebegin "Deactivating swap devices" - - # Try to unmount all tmpfs filesystems not in use, else a deadlock may - # occur. As $RC_SVCDIR may also be tmpfs we cd to it to lock it - cd "$RC_SVCDIR" - umount -a -t tmpfs 2>/dev/null - case "$RC_UNAME" in NetBSD|OpenBSD) swapctl -U -t noblk >/dev/null;; *) swapoff -a >/dev/null;; |