My /sbin/init on the initrd script looks something like:
#I have the new root mount on /new_root/root.cfs and all directories are set up to pivot
cd /new_root
pivot_root . initrd
export PATH=/bin:/usr/bin:/sbin
echo Done pivoting
umount /initrd/proc
umount /initrd/devfs
umount /initrd
exec chroot . sbin/startup < dev/console > dev/console 2> dev/console
Should i unmount /proc and /devfs before I pivot? Any suggestions would be wonderful!
Cheers,
James
Please CC to me directly if you can, i'm not suscribed to the mailing list, bad me!
-- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/