summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2018-10-17 10:01:10 +0200
committerRamón M. Gómez <ramongomez@us.es>2018-10-17 10:01:10 +0200
commit1f75d139cf157096eb5999be4e4355b7986f7f96 (patch)
tree1b6b98befcdbd5f61f4f6791858c9ffc7d977e5f
parentb80226ec060d17b4cdddbc0c0176fcfca7c363d5 (diff)
Close #871: Sectors overflow comparition is moved.
-rwxr-xr-xclient/engine/Disk.lib2
-rw-r--r--doc/CHANGELOG.es.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib
index a7db9209..06744bd9 100755
--- a/client/engine/Disk.lib
+++ b/client/engine/Disk.lib
@@ -128,10 +128,10 @@ while [ $# -gt 0 ]; do
echo "$DISK$PART : start=$START, size=$SIZE, Id=$ID" >>$tmpsfdisk
# Error si se supera el nº total de sectores.
START=$[START+SIZE]
- [ $START -le $SECTORS ] || ogRaiseError $OG_ERR_FORMAT "$[START/2] > $[SECTORS/2]" || return $?
if [ "$IOSIZE" == "4096" -a $PART -gt 4 ]; then
START=$[START+2048]
fi
+ [ $START -le $SECTORS ] || ogRaiseError $OG_ERR_FORMAT "$[START/2] > $[SECTORS/2]" || return $?
PART=$[PART+1]
shift
done
diff --git a/doc/CHANGELOG.es.txt b/doc/CHANGELOG.es.txt
index 99486fa6..a5f1687f 100644
--- a/doc/CHANGELOG.es.txt
+++ b/doc/CHANGELOG.es.txt
@@ -12,6 +12,7 @@ iscos duros
#864 FirstRunOnceWindows: scripts de ejemplo para installMiniSetup con ratón y teclado desacti
vado
#866 Si al restaurar usando la cache no hay espacio en la misma se finalizará la acción
+#871 Error al crear particiones lógicas en discos con sectores de 4 KB
Tickets resueltos en módulo OpenGnsys Client:
#847 La ISO del ogLive debe de utilzar la revisión de Git y no de SVN