Michael Towers: > [EMAIL PROTECTED] wrote: ::: > > Yes I will have to manipulate the mountpoints I guess. > > It is possible that I'll have to unmount aufs, which will > > be "one layer below". > > Do you/anybody see a way how this could be achieved? ::: > initramfs root. But why would you want to get out of the aufs?
The same question came to my mind. But I think what you need is 'mount --move' before switch_root. See also CVS_TREE/aufs/sample/diskless/linuxrc. When you use aufs as a root filesystem, you need to pay attention at shutdown. Generally the shutdown script remount the root filesystem as readonly because it cannot be unmounted. In aufs world, you also need to remount your writable branch filesystem as readonly, in order to flush/write-back to the branch. (from the aufs manual) ---------------------------------------------------------------------- When your aufs is the root directory of your system, and your system tells you some of the filesystem were not unmounted cleanly, try these procedure when you shutdown your system. .nf # mount -no remount,ro / # for i in $writable_branches # do mount -no remount,ro $i # done .fi If your xino file is on a hard drive, you also need to specify `noxino' option or `xino=/your/tmpfs/xino' at remounting root directory. ---------------------------------------------------------------------- Junjiro Okajima ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/