Am 28.03.2012 16:30, schrieb Gerardo Exequiel Pozzi:
> On 03/28/2012 10:44 AM, Dave Reisner wrote:
>>> Is there any way to make something similar work with loop devices? You
>>> would need to disable the loop device before umounting the underlying
>>> file system. If we could solve this as well, then archiso probably
>>> wouldn't need its special shutdown hook anymore.
>>>
>> sure, lsblk loudly declares loop devices to be type loop. Hrmmm, archiso
>> does a lot of weird stuff... in particular, the squashfs mounts are
>> confusing me and/or lsblk. I'll get myself a newer image and poke around
>> at what Gerardo is doing on setup...
>>
>> I'm sure it's possible, I just need to understand what's happening.
>>
>> d
>>
> 
> Hello,
> 
> The first step on "shutdown" for archiso is a mount --move, since
> /oldroot depends on things from /oldroot/run/archiso. This make it a bit
> special.

It would be a good idea anyway to do that unconditionally: Just move all
mount points into separate paths before umounting and closing devices.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to