Hi, Nitin Bhardwaj: > First, since you asked about tmpfs, I looked into the init script of initrd > and found out that presumably, > nash is able to mount tmpfs... as there is this mount already happening: > > [...] > mount -o mode=0755 -t tmpfs /dev /dev > [...] > > Can I have some workaround/solution using tmpfs ?
I think the mount syntax for tmpfs is essentially similar to aufs's, ie. the device node is unnecessary. But it depends upon how your mount command inteprets and operates the given device node. > Secondly, since the nash shell mount was not accepting 'none' for a device > name, > I tried the following (on the lines of the above mount already present > therein): > > mount -o br:/sysroot/bin:/sysroot/.mount/bin=ro -t aufs /sysroot/bin > /sysroot/bin > > and got the following error: > > aufs test_br:283:init[1]: write permission for readonly fs or inode, > /sysroot/bin > mount: error mounting /sysroot/bin on /sysroot/bin as aufs: Invalid argument > > > Am I doing it correctly ? Yes, if I were you I would try the same command. And the error message shows that we made one step forward I think. It says the first branch "/sysroot/bin" is readonly, so you cannot mount aufs as read/write. Actually /sysroot was mounted readonly. ---------------------------------------------------------------------- echo Creating root devices mkrootdev -t ext3 -o ro /dev/hda1 echo Mounting root filesystem mount --ro -t ext3 /dev/hda1 /sysroot ::: ---------------------------------------------------------------------- If you want to use /sysroot/bin as a writable branch of aufs, then you need to remove "--ro" at mounting /sysroot. > Here are the other aufs data from a running CentOS 5.2 system: ::: > aufs 20080602 That is very old... You may want to look <http://aufs.sourceforge.net/History> and see what bugs are fixed since then. 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