summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-09 16:58:43 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-09 16:58:43 +0100
commit8917611b3c5fadd83f23ec4689f2d948053d8f9e (patch)
tree6b59509a1d8502a09092bd832300e82ddee312ed /src
parent01c94db3783ab2fd465a6f12e9ad855786272442 (diff)
fixes mkay
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-blockdevices-filesystems.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh
index 26ab866..901487b 100644
--- a/src/core/libs/lib-blockdevices-filesystems.sh
+++ b/src/core/libs/lib-blockdevices-filesystems.sh
@@ -343,7 +343,7 @@ process_disk ()
generate_filesystem_list ()
{
echo -n > $TMP_FILESYSTEMS
- while read part type label fs_string
+ while read part part_type part_label fs_string
do
if [ "$fs_string" != no_fs ]
then
@@ -384,7 +384,7 @@ process_filesystems ()
elif [ "$fs_mountpoint" != no_mount ]
then
[ "$fs_mount" = target ] && fs_mountpoint=$var_TARGET_DIR$fs_mountpoint
- umount $fs_mountpoint # could be that this was not mounted yet. no problem.
+ umount $part # 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