diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-12 22:22:31 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-11-12 22:22:31 +0100 |
commit | 5a48005e28b2cfb43013cfa3bddbc8a50e70e189 (patch) | |
tree | bacb45423ba28befebe30295f27e0a8c53df8f57 /src | |
parent | 82d73471a2bcbe03e5a8312a4328be1526feea67 (diff) |
patch for fs umount order
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-blockdevices-filesystems.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index ac025dc..169fb66 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -389,7 +389,7 @@ fix_filesystems () { [ -z "$1" -o ! -f "$1" ] && die_error "Fix_filesystems needs a file with the setup structure in it" - for line in $(cat $1); do + for line in $(tac $1); do #TODO: we should probably do / as last because we can't umount it if other filesystems are mounted in it. for now we can be sure we do swap last and before that /. PART=$(echo $line | cut -d: -f 1) FSTYPE=$(echo $line | cut -d: -f 2) MP=$(echo $line | cut -d: -f 3) |