[uClinux-dev] newbie problems using uCsimm4s eth0

Matthias Schoeldgen uclinux at schoeldgen.de
Wed Apr 17 04:50:44 EDT 2002


Hi Philip!
Ah, that explains it. I never looked into the filesystem this deep...
Thank you !
Matthias

Philip Nye wrote:
> 
> > From: "Matthias Schoeldgen" <uclinux at schoeldgen.de>
> >
> > BTW, can anyone explain the behaviour of busybox generating a binary for
> > each of the enabled commands ? When compiling the userland binaries i
> > get a 'busybox' executable, a 'mount' executable, and so on, each having
> > the same size of about 58kb or larger when including more busybox
> > features. I always thought busybox is one executable with all the
> > features built in ???
> 
> These are all hard links to the same executable - not separate files (you can
> tell because they all share the same inode). Thus when
> you type "mount" or whatever, the one executable can examine argv[0] to find
> how it has been called and therefore what it should do.
> 
> Philip Nye
> 
> This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list