Now I mounted my linux mint /proc, /sys, and /dev into my chroot, but no difference in behaviour:
PHP Code:
mint17-32 K1 # cd uclibc
mint17-32 uclibc # mount -o bind /proc proc
mint17-32 uclibc # mount -o bind /sys sys
mint17-32 uclibc # mount -o bind /dev dev
mint17-32 K1 # ls uclibc/proc
1 12695 159 1784 1886 2085 2142 2333 26690 351 5 589 810 buddyinfo interrupts misc swaps
10 12737 16 1785 1898 2087 2143 2345 27 3524 50 601 865 bus iomem modules sys
1047 12902 160 1786 19 2089 2163 2352 27523 3527 515 6073 881 cgroups ioports mounts sysrq-trigger
11 1297 161 1787 1914 2090 2169 2357 27552 3528 516 6101 8900 cmdline irq mtd sysvipc
1102 13 162 1790 1918 2093 2170 2379 28 36 52 6109 892 consoles kallsyms mtrr thread-self
1110 1300 163 18 1919 2095 2180 2384 28294 37 520 618 9 cpuinfo kcore net timer_list
1114 1374 164 1836 1971 21 2183 2396 28306 398 524 652 903 crypto keys pagetypeinfo timer_stats
1122 15 17 1838 2 2102 2188 24 28364 405 53 7 905 devices key-users partitions tty
1132 153 1775 1846 20 2111 22 25 28387 4588 54 735 911 diskstats kmsg sched_debug uptime
1189 154 1776 1848 2023 2114 23 254 28414 459 545 762 913 dma kpagecount schedstat version
12 155 1777 1851 2061 2125 2312 255 29 4592 547 767 916 driver kpageflags scsi version_signature
12371 156 1780 1853 2072 2127 2317 26 3 4593 55 768 967 execdomains loadavg self vmallocinfo
12379 1561 1781 1859 2075 2128 2321 2614 30 465 5508 78 969 fb locks slabinfo vmstat
1245 157 1782 1860 2079 2134 2328 2617 35 479 57 79 acpi filesystems mdstat softirqs zoneinfo
125 158 1783 1876 2081 2138 2329 2618 350 49 588 8 asound fs meminfo stat
mint17-32 K1 # ls uclibc/sys
block bus class dev devices firmware fs hypervisor kernel module power
mint17-32 K1 # ls uclibc/dev
autofs fuse mem nbd6 ram12 sda1 tty12 tty28 tty43 tty59 ttyS15 ttyS30 vcs4
block hidraw0 memory_bandwidth nbd7 ram13 sda2 tty13 tty29 tty44 tty6 ttyS16 ttyS31 vcs5
bsg hpet mtd0 nbd8 ram14 sda5 tty14 tty3 tty45 tty60 ttyS17 ttyS4 vcs6
btrfs-control input mtd0ro nbd9 ram15 sg0 tty15 tty30 tty46 tty61 ttyS18 ttyS5 vcs8
bus kmsg mtdblock0 net ram2 sg1 tty16 tty31 tty47 tty62 ttyS19 ttyS6 vcsa
cdrom log nbd0 network_latency ram3 shm tty17 tty32 tty48 tty63 ttyS2 ttyS7 vcsa1
char loop0 nbd1 network_throughput ram4 snapshot tty18 tty33 tty49 tty7 ttyS20 ttyS8 vcsa2
console loop1 nbd10 null ram5 snd tty19 tty34 tty5 tty8 ttyS21 ttyS9 vcsa3
core loop2 nbd11 port ram6 sr0 tty2 tty35 tty50 tty9 ttyS22 uhid vcsa4
cpu loop3 nbd12 ppp ram7 stderr tty20 tty36 tty51 ttyprintk ttyS23 uinput vcsa5
cpu_dma_latency loop4 nbd13 psaux ram8 stdin tty21 tty37 tty52 ttyS0 ttyS24 urandom vcsa6
cuse loop5 nbd14 ptmx ram9 stdout tty22 tty38 tty53 ttyS1 ttyS25 vboxguest vcsa8
disk loop6 nbd15 pts random tty tty23 tty39 tty54 ttyS10 ttyS26 vboxuser vfio
ecryptfs loop7 nbd2 ram0 rfkill tty0 tty24 tty4 tty55 ttyS11 ttyS27 vcs vga_arbiter
fb0 loop-control nbd3 ram1 rtc tty1 tty25 tty40 tty56 ttyS12 ttyS28 vcs1 vhci
fd mapper nbd4 ram10 rtc0 tty10 tty26 tty41 tty57 ttyS13 ttyS29 vcs2 vhost-net
full mcelog nbd5 ram11 sda tty11 tty27 tty42 tty58 ttyS14 ttyS3 vcs3 zero
mint17-32 K1 # chroot uclibc
chroot: failed to run command '/bin/bash': No such file or directory
mint17-32 K1 # ls -al uclibc/bin/bash
lrwxrwxrwx 1 root root 7 May 11 10:03 uclibc/bin/bash -> busybox
mint17-32 K1 #
Is that what you meant, or something else (still unknown to me)? I also mounted them in my lenny loop mount, also with no difference, but lenny could already complile apps that ran fine in the chroot, but not in my K1. I was hoping the uclibc chroot would work better, but chroot fails on that one (both the dir and the loopmount, but the jffs2 loopmount does not let me create the missing /bin/bash link -- no free space).