[uClibc]filesystem-access problems?
Paul Jimenez
pj at place.org
Fri Apr 19 11:23:51 UTC 2002
Hi, I'm kinda stumped at the moment. For speed and convenience' sake
I went out and bought a used powermac G3 and put linux on it. I now
need to get busybox+uclibc+a bunch of other tools working on it. I've
got something that seems almost right, but it's having some trouble
reading the filesystem or something somehow:
BusyBox v0.60.3-pre (2002.04.19-11:06+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.
# ls -al
0--------- 1001 1001 0 1019214980 Dec 31 1969 .
# help
help: not found
# uname -a
Linux ford 2.4.18 #2 Thu Apr 18 23:57:38 CDT 2002 ppc unknown
# echo foo
foo
# ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
eth0 Link encap:Ethernet HWaddr 00:05:02:E1:72:6E
inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:42 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
#
The upshot is: commands that touch the filesystem (ls, du, ps ("Can't open /proc"))
don't work... but things like cat/chgrp/dmesg/touch/ping/route etc do.
Suggestions welcome, I'd not be suprised if I missed something simple...
--pj
More information about the uClibc
mailing list