Slight correction: the "ls" commands were ran in a different session,
apologies for the confusion.
--Bart
On 12/1/2011 2:38 PM, Bart Kus wrote:
Hello,
Does anyone know what might be causing this behavior?
eo@jo /tmp $ mkdir ram
eo@jo /tmp $ cd ram
eo@jo /tmp/ram $ gunzip < /boot/initramfs | cpio -idm
cpio: dev/tty1: Cannot mknod: Operation not permitted
cpio: dev/console: Cannot mknod: Operation not permitted
cpio: dev/null: Cannot mknod: Operation not permitted
37624 blocks
eo@jo /tmp $ su -
Password:
jo ~ # cd /tmp
jo tmp # PATH= /usr/bin/chroot ram /bin/busybox ash
/ # uname
ash: uname: not found
/ # echo $PATH
/ # PATH=/bin
/ # uname
ash: uname: not found
/ # cd bin
/bin # uname
Linux
/bin # PATH=
/bin # uname
Linux
/tmp/ram # ls -l bin/uname
lrwxrwxrwx 1 eo eo 7 Dec 1 03:39 bin/uname ->
busybox
/tmp/ram # ls -l bin/busybox
-rwxr-xr-x 1 eo eo 2087264 Dec 1 01:03 bin/busybox
My busybox version is 1.19.3 and my config is attached.
Thanks for any insight,
--Bart
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox