Nitin Bhardwaj:
> >> > (shutdown)
> >> > umount /sysroot/bin
> >> > # you may specify $PATH
> >> > mount -o remount,ro,mod:/bin=ro /aufs/bin
        :::
> Yes. mount,umount are on /bin in RHEL. And shutdown binary in on /sbin.
> Tried "umount -l". That has a cyclic dependency: unmounting /bin
> renders any command(s) thereafter unable to execute.

That's why I wrote "you may specify $PATH".
All commands under /bin should be invoked as /aufs/bin after umount
/bin.


> No. The read-only remount goes ahead fine, but while shutdown I get
> the same errors:
        :::
> /dev/hda1:Superblock last mount time is in the future. FIXED.
> /dev/hda1:Superblock last write time is in the future. FIXED.
> /dev/hda1: clean, xxx files, yyy blocks           [  OK  ]

Really?
If "mount -o remount,ro /sysroot" really succeeded but fsck reported
error, then the problem is out of aufs...


J. R. Okajima

------------------------------------------------------------------------------
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

Reply via email to