[BusyBox] Re: Some more busybox issues...
Andreas Neuhaus
andy at fasta.fh-dortmund.de
Fri Mar 16 00:47:19 UTC 2001
> > hmm... very bad... i need a way to get this to work. a non-working
reboot is
> > not a good idea :-(
> I just made a boot floppy. I can't reproduce this on 2.4 or 2.2 kernels,
> so I'm assuming this is specific to your setup, and not holding the
release
> for this one.
hmm... i tried on 3 other systems which run SuSE linux 7.1 with a 2.4.2
kernel. my test:
123.c:
int main (int argc, char *argv[])
{
argv[0]="asd"; // does not work, strdup neither
strcpy(argv[0], "asd"); // works but does not look like a good idea
while (1)
sleep(1);
}
gcc -Wall -Os 123.c -o 123
on all systems this process showed up as "123", not as "asd". i think i'm
gonna have a look into sysvinit source, because it's running on all 3
systems and shows up as "init [3]"...
regards,
andreas neuhaus
--
Life could be so much easier if we could just look at the source code...
.~.
/V\ Andreas Neuhaus, FaStA Informatik FH-Dortmund
// \\ Sonnenstr. 96, D-44139 Dortmund, Tel 0231/9112-734
/( )\ System-Administration FaStA FH-Dortmund
^^-^^
LINUX - Don't fear the penguin
More information about the busybox
mailing list