> Ben Greear: > > 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 am afraid you might be still misunderstanding. > As well as you cannot unmount the root dir, you cannot remove last > branch from aufs. > Setting RO is the substitution of unmounting. If you set the aufs branch > as RO, you don't have to unmount it anymore.
I should be more precise. "Setting RO" means both of these. - for aufs, "remount,mod:/brabra=ro" - for native fs, "remount,ro" J. R. Okajima ------------------------------------------------------------------------------ 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/