I have a rootfs-based initrd created using cpio.   I need to chroot to 
/newroot, but in new root I want to access files in the main root (/).  So, 
normally I'd use mount -o bind /newroot/mainroot /; chroot /newroot
 
However, for some reason mount -o bind fails.  Is this a bug or a limitation?  
I tried both busybox's mount and full-version mount command and they both 
failed.
 
Is there any other way?  Does the main root have an entry in /dev that maybe I 
can mount it using mount -t rootfs /dev/root /newroot/mainroot?
 
Thanks,
Quang
 
 
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to