Re: Mount return values are wrong in the new aufs mount location

2011-12-23 Thread Michael S. Zick
On Wed December 14 2011, Vasanth Ragavendran wrote: Which looks exactly as expected from the previous condition you listed before the move. What do you want different about it? I think I have stumbled onto a similar situation that does not involve auFS nor either of the *_root

Re: Mount return values are wrong in the new aufs mount location

2011-12-14 Thread 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?

Re: Mount return values are wrong in the new aufs mount location

2011-12-14 Thread Michael S. Zick
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

Re: Mount return values are wrong in the new aufs mount location

2011-12-14 Thread sfjro
Vasanth Ragavendran: 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 ...

Re: Mount return values are wrong in the new aufs mount location

2011-12-14 Thread 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?

Re: Mount return values are wrong in the new aufs mount location

2011-12-14 Thread Vasanth Ragavendran
-- 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More!

Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread Michael S. Zick
On Tue December 13 2011, sf...@users.sourceforge.net wrote: Vasanth Ragavendran: Oh then i was wrong in assuming that the old values shouldn't be displayed after doing a switch_root! :( i'm so sorry. however if i do a df -h in the I hope you would understand that your /proc/mounts never

Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread sfjro
Vasanth Ragavendran: / # ls -ld /tmp/ /tmp/jffs2 /tmp/sqfsh ls: /tmp/jffs2: No such file or directory ls: /tmp/sqfsh: No such file or directory drwxr-xr-x3 root root0 Jan 1 00:00 /tmp/ What will happen if you mount -o move them? the version of aufs is aufs2.1 since

Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread sfjro
Vasanth Ragavendran: u mean in the aufs filesystem do a mount -o move? but the folder jffs2 and sqfsh doesn't exist. right? You already have at least one mount -o move in your script, right? I mean moving jffs2 and sqfsh too before switch_root. Do you mean the last aufs2.1-31? Don't you

Re: Mount return values are wrong in the new aufs mount location

2011-12-13 Thread sfjro
Vasanth Ragavendran: I don't set the brs as I don't have the CONFIG_AUFS_SYSAUFS paramater. Where did you see CONFIG_AUFS_SYSAUFS? If I remember correctly, it was gone before aufs2.0 (ie. aufs1). If your fs/aufs/Kconfig contains such symbols, I'd strongly recommend you to check your aufs source

Re: Mount return values are wrong in the new aufs mount location

2011-12-12 Thread sfjro
Vasanth Ragavendran: cross compiler. however aufs2-util packages fail to compile. it fails in compiling the makefile of the aufs2-util. the error being ./ver: ./ver: cannot execute binary file The reason being the file is not getting generated by mips-linux-uclibc-gcc -I./libau -O -Wall

Re: Mount return values are wrong in the new aufs mount location

2011-12-12 Thread Vasanth Ragavendran
-- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment.

Re: Mount return values are wrong in the new aufs mount location

2011-12-12 Thread sfjro
Vasanth Ragavendran: It might work, however the plink.c which contains a O_CLOEXEC defined in fcntl.h creates problem. i guess the location of this file containing O_CLOEXEC differs from architecture to architecture (i'm not too sure of this though) If you mean that your

Re: Mount return values are wrong in the new aufs mount location

2011-12-12 Thread Vasanth Ragavendran
-- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment.

Re: Mount return values are wrong in the new aufs mount location

2011-12-12 Thread sfjro
Vasanth Ragavendran: I don't set the brs as I don't have the CONFIG_AUFS_SYSAUFS paramater. What is your aufs version? J. R. Okajima -- Systems Optimization Self Assessment Improve efficiency and utilization of IT

Re: Mount return values are wrong in the new aufs mount location

2011-12-12 Thread sfjro
Vasanth Ragavendran: Oh then i was wrong in assuming that the old values shouldn't be displayed after doing a switch_root! :( i'm so sorry. however if i do a df -h in the I hope you would understand that your /proc/mounts never show the old values. It is always _current_ status. after

Re: Mount return values are wrong in the new aufs mount location

2011-12-12 Thread Vasanth Ragavendran
-- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment.

Re: Mount return values are wrong in the new aufs mount location

2011-12-11 Thread sfjro
Hello Vasanth, Vasanth Ragavendran: system. however doing a mount under this new aufs filesystem still contains the old mount values. 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

Re: Mount return values are wrong in the new aufs mount location

2011-12-11 Thread Vasanth Ragavendran
init Description: Binary data -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and

Re: Mount return values are wrong in the new aufs mount location

2011-12-11 Thread sfjro
Vasanth Ragavendran: No I was talking about the /proc/mounts only. I don't have the /etc/mtab file. apparently i had installed the aufs2-util but had not copied over the file to the board since the size was huge (600kb for mount.aufs and 500kb for umount.aufs) and i'm space constrained. But