Hi Junjiro, > > > Are you sure that switchroot returns 0? > > Will you answer my question?
switchroot doesn't have exit code. switchroot replaces the current process (the init in initrd) and then executes the new init. > > > You moved /etfw/.etfw_changes branch under /filesystem and you would > > > see it after switchroot. > > > > Yes. > > > > > How about /cdrom and /etfw branches? If you use > > > initramfs, can you see it after switchroot? > > > > I see it in my /proc/mounts: > > Do you use initramfs? No, I use an ext2 initrd. > Can you ls(1) to them after switchroot? switchroot moves the specified diretory to /. What was before that directory can't be accessed anymore. Regards, Fernando Gomes ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
