aboutsummaryrefslogtreecommitdiff
path: root/locale.sh
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-10-29 17:26:26 +0200
committerTom Gundersen <teg@jklm.no>2011-11-04 22:49:34 +0100
commit34714bf34e5928479e5ec4367e5e79902876dfa3 (patch)
tree61a7340d18fed727ff292b5094baa93590e1e940 /locale.sh
parent3fd0222be7868096e9ed6d97ccee1b3c1ae4d394 (diff)
downloadinitscripts-34714bf34e5928479e5ec4367e5e79902876dfa3.tar.xz
swapoff: umount swap-backed fs before switching off swap
Factor out umounting. Explicitly skip umounting API directories, rather than matching on fs type. This allows us to e.g. unmount all tmpfs but leaving /run and /dev/shm alone. v3: fixed some regressions in v2, made 'API filesystems' less general v2: new umount_all implementation based on proposal by Dave and input from Anthony. Also, ignore ramfs as it is not backed by swap. Cc: Dave Reisner <d@falconindy.com> Cc: C Anthony Risinger <anthony@xtfx.me> Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'locale.sh')
0 files changed, 0 insertions, 0 deletions