diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:41 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:41 +0200 |
commit | cee1de85c8b7c3576ae9a899a0f9a6482f7c339f (patch) | |
tree | d4eaae141bab202e052715c0557c3b6977a114ab /helpers/lh_losetup | |
parent | 6f5e2da03e5fd1af2200d2f55ca84647bc8d3626 (diff) | |
download | live-build-cee1de85c8b7c3576ae9a899a0f9a6482f7c339f.zip live-build-cee1de85c8b7c3576ae9a899a0f9a6482f7c339f.tar.gz |
Adding live-package 0.99.23-1.
Diffstat (limited to 'helpers/lh_losetup')
-rwxr-xr-x | helpers/lh_losetup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_losetup b/helpers/lh_losetup index e99f9e0..e2b3c0d 100755 --- a/helpers/lh_losetup +++ b/helpers/lh_losetup @@ -12,7 +12,7 @@ losetup -d "${DEVICE}" LOOPDEVICE="`echo ${DEVICE}p${PARTITION:=1}`" CYL="`echo ${FDISK_OUT} | sed -ne "s_^${LOOPDEVICE}[ *]*\([0-9]*\).*_\1_p" `" -#OFFSET="`expr ${CYL}*512`" +#OFFSET="`expr 512 '*' ${CYL}`" OFFSET="$((CYL*512))" echo loop $DEVICE at offset $OFFSET |