[BusyBox] Some problems with busybox-1.0.0-pre1
Manuel Novoa III
mjn3 at codepoet.org
Mon Jul 28 15:30:44 UTC 2003
On Mon, Jul 28, 2003 at 05:21:58PM +0200, Eric Spakman wrote:
> > On Mon, Jul 28, 2003 at 04:45:25PM +0200, Eric Spakman wrote:
> > > problem with /dev/null, it looks like it's generated automatically by
> > > busybox?
> >
> > Hmm... I suppose that if you were using uClibc and if /dev/null didn't
> > exist, then a /dev/null empty regular file could be created by
> > asprintf(). Is /dev/null a regular file?
> >
> I'm indeed using uClibc (0.9.20). /dev/null is created with "mknod
> null c 1 3" and "chmod 666 null". I wasn't complete in my previous
Let's try again. You said that it looked like /dev/null was generated
automaticly by busybox. I said that if /dev/null didn't exist, then
it could be created by a uClibc call to asprintf (assuming perms).
In order to see if this was the case, I asked if the automaticly
generated /dev/null was a regular file. Is it?
If so, then the fix is for me to finally redo uClibc's fopencookie()
function so that it does not open /dev/null.
Manuel
More information about the busybox
mailing list