[arch-projects] [mkinitcpio][PATCH] shutdown: disassemble devices on shutdown v2

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Mar 28 10:30:08 EDT 2012

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


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 

Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1

More information about the arch-projects mailing list