Yes the switch_root/pivot_root issue is my mistake at trying to remember my script without opening up the initrd... If you want to know the script that fails with the new version of aufs, look no further than http://www.linux-live.org. The commands my script uses is an exact copy of the init script used in Tomas M's linuxlive scripts, with the slight exception that he uses initrd instead of initramfs. Nevertheless, if there was not any syntax changes, there should be no reason why this newest version of aufs should fail after it has been working for so long...
On Wed, Feb 4, 2009 at 5:31 PM, <sf...@users.sourceforge.net> wrote: > > "James .": >> Well, the first writable branch would be IN the initramfs to start >> with. Heres how it generally plays out with all the previous aufs >> versions in pseudocode: >> >> #INSIDE initramfs: >> mkdir "union" >> mkdir "rewriteable" >> >> mount -t tmpfs -o size=1024M tmpfs "rewriteable" >> >> mount -t aufs -o nowarn_perm,...,br:rewriteable=rw aufs union > > So your branch fs is TMPFS instead of initramfs/rootfs. > I cound mount tmpfs with aufs2. Would you check your script again? > > >> for each external squashfs filesystem: >> mount -o loop filesystem filesystem_dir >> <add branch to aufs> >> >> chroot "union" >> switch_root >> >> #finish > > chroot and switch_root? Both? > That is strange. In initramfs case (instead of initrd), you need to > - "mount --move" all your branches > - chroot > - no "switch_root" > > >> So now with the new versions, it fails on "mount -t aufs -o >> nowarn_perm,...,br:rewriteable=rw aufs union", which I assume is the >> newest feature about nfs...sure you can make it work in tmpfs (just >> like every previous version) no? > > I don't think NFS is related (as long as you don't use it). > Actually aufs2 supports tmpfs. > Hmm,,, but I may have to test with initramfs... > > > 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