On 05/17/2012 11:44 AM, sf...@users.sourceforge.net wrote: > Ben Greear: >> Maybe something like this? > > Essentially yes. > > >> sync >> auplink / flush >> mount -n -o remount,ro -t / > > - you can remove "sync". But if you leave it, it should be harmless. > - if you install aufs-util, then you should remove "auplink / flush" > since /sbin/mount.aufs executes it automatically. > - I am not sure the "-t" option in the "mount" line will work. I am > afraid it causes an error.
Ok, I fixed all that.... > > > >> if [ -d /cow ] >> then >> mount -n -o remount,noxino / >> mount -n -o remount,mod:/cow=ro / > > You can do it in a single command, as "remount,noxino,mod:/cow=ro" And did that...but it still fails: mount -n -o remount,noxino,mod:/cow=ro / has error: /sbin/mount.aufs:plink.c:199: /var/log/dmesg.0: Read-only file system..... Error code from the mount command was '30' in case that helps. I'll try adding some lsof debugging after lunch... I can also take a picture of all the commands if that helps. Thanks, Ben > > > J. R. Okajima -- 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/