diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-12 17:25:50 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-12-12 17:25:50 +0100 |
commit | 71f1288b0641740b6f6c6cc6b2cf8e5308caf51c (patch) | |
tree | d433796e663e0e73c6f9ced59d523e7265bdcd0c /src | |
parent | f9e823222415137f3a049dedf66438a7530632a2 (diff) |
reset sfdisk input before partitioning, to avoid extraneous stale data
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 82d2125..89e50ae 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -415,7 +415,7 @@ partition() # format: each line=1 part. <start> <size> <id> <bootable>[ <c,h,s> <c,h,s>] read -r -a fsspecs <<< "$STRING" # split up like this otherwise '*' will be globbed. which usually means an entry containing * is lost - + sfdisk_input= for fsspec in "${fsspecs[@]}"; do fssize=$(echo $fsspec | tr -d ' ' | cut -f1 -d:) fssize_spec=",$fssize" |