On Wed, Feb 11, 2009 at 9:10 PM, <sf...@users.sourceforge.net> wrote: > > Nitin Bhardwaj: >> Since I'm doing mounting in the initrd ( Redhat nash shell), the mount >> of which does not support "none" ; Since aufs is not associated with >> any device, I'll try giving /dev/hda1. > > ?? > We are talking about the shutdown script? and remount readonly??
Yes, correct. Sorry for the confusion; I thought you referred to the boot-time aufs mounting. I guess you meant : "mount -o remount,ro,mod:/bin=ro none /bin" while shutting down, will try that. > > >> Yes /proc/mounts exists at this point. I tried this both at runlevel 1 >> command prompt, as well as in the shutdown script ( /etc/init.d/halt ) >> . I'll try to capture the /proc/mounts output. > > If you surely "echo"ed the corrcect line in /proc/mounts, then you may > meet an old bug in /sbin/mount.aufs or something. You mean echo correct line into /etc/mtab (from /proc/mounts) , right ? > > (bugfixes for /sbin/mount.aufs after 20080602) > - bugfix: mis-used the filename variable . > - bugfix: stop dropping the passed vfs mount options. > - bugfix: stop updating /etc/mtab when remounting the chroot-ed aufs as > readonly. > > > J. R. Okajima > Thanks, Nitin. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com