On 05/16/2012 12:43 PM, Ben Greear wrote:
> On 05/10/2012 10:03 AM, Ben Greear wrote:
>> On 05/10/2012 07:57 AM, sf...@users.sourceforge.net wrote:
>>> Ben Greear:
>>>> Can you be more specific on how to do that?  I really don't know much
>>>> about this sort of thing..just been spending a few days trying to get
>>>> the USB persistent image working properly on Ubuntu 12.04....
>>>
>>> I'd suggest you to refer to
>>> http://sourceforge.net/mailarchive/message.php?msg_id=2264477
>>> first.
>>
>> Thanks..that is good info.
>>
>> As far as I can tell, casper is missing that mount move logic,
>> and the switch-root thing.
>>
>> I'll see if I can figure out who it's developers are and see
>> if they know why.
>
> Ok, I have fixed casper so that /cow (the aufs rw branch)
> is visible.
>
> What is the proper way to clean this all up on reboot
> so that /cow is properly flushed and un-mounted (and
> thus clean for mount on startup w/out having to fsck it)?
>
> I tried hacking the 'umountroot' script that is supposed
> to make / mounted (ro), by adding
>
> mount -o remount,del:/cow / after it was (ro),
> but that doesn't seem to work.

I instrumented the umountroot script a bit more
to show the commands used (set -x) and
took a picture of it failing to deal with /cow.

http://www.candelatech.com/~greearb/aufs-unmount.jpg

I'll be happy to try out any suggestions that someone might
have.

Thanks,
Ben


-- 
Ben Greear <gree...@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Reply via email to