On 02/23/2012 09:31 AM, Dieter Plaetinck wrote:
On Thu, 23 Feb 2012 00:52:22 -0300
Gerardo Exequiel Pozzi<[email protected]> wrote:
Superseded by /run/archiso/used_block_devices
Signed-off-by: Gerardo Exequiel Pozzi<[email protected]>
---
archiso/hooks/archiso_loop_mnt | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/archiso/hooks/archiso_loop_mnt b/archiso/hooks/archiso_loop_mnt
index 61ddcd4..a02cfac 100644
--- a/archiso/hooks/archiso_loop_mnt
+++ b/archiso/hooks/archiso_loop_mnt
@@ -28,7 +28,5 @@ archiso_loop_mount_handler () {
if [[ "${copytoram}" == "y" ]]; then
losetup -d ${_dev_loop}
umount /run/archiso/img_dev
- else
- echo ${_dev_loop}> /run/archiso/img_dev_loop
fi
}
maybe it's just me, but this patch and the previous version doesn't seem to
have anything to do with the introduction of /run/archiso/used_block_devices
other than this, all patches seem good to me!
Dieter
From patch 11 :)
+for _lup in $(grep ^/dev/loop /oldrun/archiso/used_block_devices | tac); do
...
- if [[ -f /oldrun/archiso/img_dev_loop ]]; then
- losetup -d $(cat /oldrun/archiso/img_dev_loop)
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1