On Wed December 14 2011, Vasanth Ragavendran wrote:
> >
> >
> >
> > So I am saying "Try moving jffs2 and sqfsh before switch_root", not only
> > /tmp.
> > You may need to change their mount-points. For example,
> > # mkdir /jffs2 /sqfsh /tmp
> > # mount ... /tmp
> > # mount ... /jffs2
> > # mount ... /sqfsh
> > # mount ... /aufs
> > # mount -o move /tmp /aufs/tmp
> > # mount -o move /jffs2 /aufs/tmp/jffs2
> > # mount -o move /sqfsh /aufs/tmp/sqfsh
> > # swtich_root ...
> >
> >
> > I was doing something similar only before. it was like this
> 
> mount ... /tmp
> mount ... /tmp/jffs2
> mount ... /tmp/sqfsh
> mount ... /aufs
> mount -o move /tmp /aufs/tmp
> switch_root
> 
> and now even though it wouldn't make any difference i tried even ur
> suggestion
> mount ... /tmp
> mount ... /tmp/jffs2
> mount ... /tmp/sqfsh
> mount ... /aufs
> mount -o move /tmp/jffs2 /aufs/tmp/jffs2
> mount -o move /tmp/sqfsh /aufs/tmp/sqfsh
> switch_root
> 
> mount -o move are successful both the time. however after doing switch_root
> what i see using mount(8) is
> 
> rootfs on / type rootfs (rw)
> tmpfs on /tmp type tmpfs (rw,relatime)
> /dev/mtdblock2 on /tmp/jffs2 type jffs2 (rw,relatime)
> /dev/loop0 on /tmp/sqfsh type squashfs (ro,relatime)
> aufs on / type aufs (rw,relatime,si=c50d132a)
> /proc on /proc type proc (rw,relatime)
> devpts on /dev/pts type devpts (rw,relatime,mode=622)
> none on /tmp type ramfs (rw,relatime)
> 

Which looks exactly as expected from the previous condition
you listed before the move.

What do you want different about it?

Yes there are two file systems mounted on /
Which is expected, the kernel supplied one (type rootfs)
and you over-mounted it with one (type aufs).

I have to ask, what else do you want?

Mike
> 
> 
> >
> >
> > You can see the version string with release-date in the boot-time
> > message from kernel, or include/linux/aufs_type.h.
> > If you run git-clone after 2011-08-02, then it must the last version
> > which is OK.
> >
> >
> >  Oh okay but mine says 2011-08-01 so does that mean i have the older
> version? and do i need to update?
> 
> >
> >
> > Ah, you are writing only text/html and the text/plain part is generated
> > by your MUA, right? What is your MUA (mail reader)? It seems broken.
> > But I never mean you should fix it nor report it its deverloper. Of
> > course, I never mean stop you using it.
> >
> >
> >  yeah i'm gmail actually and probably that's why its creating such
> troubles apologies! :(
> 
> Regards
> R.Vasanth Ragavendran.
> 



------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/

Reply via email to