summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-11 20:00:55 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-11 20:00:55 +0100
commit7990fa7464bc1f68e84318e9e54fa76498808ec8 (patch)
treef3b39117db31985907c76a417962136862837632
parentf154d48b5fc0b2fffaf1b1d7a8b2c28dbac7df65 (diff)
cleanup of useless stuff
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index 89dc675..0ddf6e4 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -387,14 +387,10 @@ process_filesystems ()
if [ "$fs_type" = swap ]
then
infofy "(Maybe) Swapoffing $part" disks
- debug "Swapoffing $part"
-
swapoff $part &>/dev/null # could be that it was not swappedon yet. that's not a problem at all.
elif [ "$fs_mountpoint" != no_mount ]
then
infofy "(Maybe) Umounting $part" disks
- debug "Umounting $part"
- [ "$fs_mount" = target ] && fs_mountpoint=$var_TARGET_DIR$fs_mountpoint
umount $part &>/dev/null # could be that this was not mounted yet. no problem. NOTE: umount part, not mountpoint. some other part could be mounted in this place, we don't want to affect that.
fi
done