diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-05 19:49:56 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-05 21:49:41 +0100 |
commit | 2c5994e359da4299ffb0a9e7f3f338002677a904 (patch) | |
tree | 39debc843d047f8e75fd85775d3666dd8f1c6d28 /src/core/procedures/automatic | |
parent | 9284637ea853199905f4588cf5fb53b716611f79 (diff) |
code cleanup: use bash4 associative arrays for filesystem stuff
now the information about which setup programs for filesystems, label
programs, which FS'es can go on which blockdevices, need/can have
labels, can be mounted and FS friendly names are in a central place
in libs/lib-blockdevices-filesystems.sh.
This simplifies the code somewhat where you actually want to work with
the filesystems.
Also, we only check the available filesystem utilities once at program
startup, causing a performance improvement.
Diffstat (limited to 'src/core/procedures/automatic')
-rw-r--r-- | src/core/procedures/automatic | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/procedures/automatic b/src/core/procedures/automatic index 596aed3..6fdc1d8 100644 --- a/src/core/procedures/automatic +++ b/src/core/procedures/automatic @@ -82,6 +82,7 @@ worker_runtime_network () worker_prepare_disks () { + get_possible_fs echo "$var_PARTITIONS" > $TMP_PARTITIONS echo "$var_BLOCKDATA" > $TMP_BLOCKDEVICES process_disks || die_error "Could not process_disks" |