Re: mdev scan

2008-07-11 Thread Rob Landley
On Wednesday 09 July 2008 17:18:50 Bernhard Fischer wrote: Ah, busybox has grown an equivalent of toybox's dirtree stuff since 1.2.2. I hadn't know that... No, sounds more like the opposite since recursive_action is in busybox since ages ;)

Re: [PATCH] start-stop-daemon: close extra fds on --background

2008-07-11 Thread Natanael Copa
On Thu, 2008-07-10 at 15:12 +0200, Denys Vlasenko wrote: You misunderstood me. I said If something can be made to use PATH in a sense if a program needs to start another program, for God's sake, do NOT hardcode [/usr/][s]bin prefix! In other words: execve(/bin/vi...); // BAD

Re: [PATCH] start-stop-daemon: close extra fds on --background

2008-07-11 Thread Denys Vlasenko
On Fri, Jul 11, 2008 at 9:31 AM, Natanael Copa [EMAIL PROTECTED] wrote: You misunderstood me. I said If something can be made to use PATH in a sense if a program needs to start another program, for God's sake, do NOT hardcode [/usr/][s]bin prefix! In other words: execve(/bin/vi...); // BAD

Re: Unable to compile busybox with latest patches

2008-07-11 Thread Denys Vlasenko
On Fri, Jul 11, 2008 at 3:18 AM, Gururaja Hebbar K R [EMAIL PROTECTED] wrote: Hi, I am trying to build Busybox v 1.11.0 with latest patches on arm9 processor using CodeSourcery arm9 toolchain. Since using 1.11.0 version, i am getting an error saying, unable to find file mkmakefile with

time segfault

2008-07-11 Thread Hinko Kocevar
Hi all, I'm cross compiling busybox v1.10.4 for cris architecture. While testing the applets I've ran into 'time' problem. see below. # busybox --help BusyBox v1.10.4 (2008-07-11 13:55:33 CEST) multi-call binary Copyright (C) 1998-2007 Erik Andersen, Rob Landley, Denys Vlasenko and others.

wget error message parsing.

2008-07-11 Thread Alex Owen
Hello, I notice that at SVN commit 16528 wget lost the feature where it returned the error status number: http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/networking/wget.c?rev=16528r1=16463r2=16528 This is a real shame as I like to parse the output to see if there has been a HTTP 404

Re: wget error message parsing.

2008-07-11 Thread Denys Vlasenko
On Fri, Jul 11, 2008 at 4:01 PM, Alex Owen [EMAIL PROTECTED] wrote: Hello, I notice that at SVN commit 16528 wget lost the feature where it returned the error status number: http://busybox.net/cgi-bin/viewcvs.cgi/trunk/busybox/networking/wget.c?rev=16528r1=16463r2=16528 This is a real

Re: wget error message parsing.

2008-07-11 Thread Alex Owen
Hi there, Thanks for your response. I had done some checking and done a binary chop search of svn to find when the code had changed, and looked at the latest released tag in svn. I purposefully did not submit a bug report as I thought a discussion would be nore usefull and it proves it was as you

Re: wget error message parsing.

2008-07-11 Thread Denys Vlasenko
On Friday 11 July 2008 17:25, Alex Owen wrote: Hi there, Thanks for your response. I had done some checking and done a binary chop search of svn to find when the code had changed, and looked at the latest released tag in svn. I purposefully did not submit a bug report as I thought a

Ответ: Static build

2008-07-11 Thread Vladimir Dronnikov
I wonder what eats less memory: e.g. running a bunch of static svlogds from runit or run a bunch of BB svlogds? I want to shrink codebase dependencies of my build system and am inclined to pull from busybox wonderful library the most I can. But always doubted what is better: to add a tiny private

RE: mdev -s fails to create /dev entries

2008-07-11 Thread Holland, John
On Sunday 06 July 2008 09:06:53 Vladimir Dronnikov wrote: In particular /sys/block/loop* are the symlinks and mdev -s ceased to mknod /dev/loop*. To what exactly do these symlinks point? I have no access to a kernel later than 2.6.24. Keep in mind that sysfs keeps changing. It has no stable

Re: wget error message parsing.

2008-07-11 Thread Bernhard Fischer
On Fri, Jul 11, 2008 at 08:08:50PM +0200, Denys Vlasenko wrote: Wait a second. What is debian installer? Are you saying http://bugs.debian.org/cgi-bin/pkgreport.cgi?ordering=archfirst;archive=0;maint=debian-boot%40lists.debian.org;repeatmerged=1;package=busybox there is some part of Debian

Ответ: mdev -s fails to create /dev entries

2008-07-11 Thread Vladimir Dronnikov
Hello, John! # uname -r 2.6.25.9 SYSFS_DEPRECATED is #undef'ed in kernel .config. # ls -la /sys/block loop* - ../devices/virtual/block/loop* Hope this helps. Regards, -- Vladimir 2008/7/11, Holland, John [EMAIL PROTECTED]: On Sunday 06 July 2008 09:06:53 Vladimir Dronnikov wrote: In

RE: ?????: mdev -s fails to create /dev entries

2008-07-11 Thread Holland, John
Hello, John! # uname -r 2.6.25.9 SYSFS_DEPRECATED is #undef'ed in kernel .config. # ls -la /sys/block loop* - ../devices/virtual/block/loop* Hope this helps. Regards, -- Vladimir Thanks Vladimir, it does. This shows that my proposal will also work with 2.6.25 series kernels. It runs on

udhcpc and Infiniband support

2008-07-11 Thread Frank Leers
While searching the archives for info about udhcpc and IB support, I came across one post that was relevant - http://www.mail-archive.com/busybox@busybox.net/msg00747.html I see no definitive resolution or answer, hence my post here. My attempts at getting boot over infiniband working

Re: cpio does not unpack hardlink to empty files

2008-07-11 Thread Denys Vlasenko
On Friday 11 July 2008 21:54, Bernhard Fischer wrote: Hi, Just mentioning this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771 mkdir test touch test/solo touch test/empty echo -n x test/nonempty ln test/empty test/empty1 ln test/nonempty test/nonempty1 mkdir z find test

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394805 just fixed in svn

2008-07-11 Thread Denys Vlasenko
-- vda ___ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox

Re: wget error message parsing.

2008-07-11 Thread Alex Owen
2008/7/11 Denys Vlasenko [EMAIL PROTECTED]: On Friday 11 July 2008 17:25, Alex Owen wrote: My parsing code can therefore look for: server returned error: HTTP/1.1 404 Or better HTTP/nums_and_dots 404 Yes that would be better thanks. Wait a second. What is debian installer? Debian-installer

Re: Ответ: Static build

2008-07-11 Thread Denys Vlasenko
On Friday 11 July 2008 20:21, Vladimir Dronnikov wrote: I wonder what eats less memory: e.g. running a bunch of static svlogds from runit or run a bunch of BB svlogds? Test it. for example, try scripts/memusage. Standalone static svlogd will use ~8..12kb less than static svlogd from busybox.

Re: udhcpc and Infiniband support

2008-07-11 Thread Roy Marples
On Friday 11 July 2008 21:28:00 Frank Leers wrote: So, is udhcpc supported over Infiniband? Currently, no. However dhcpcd-3.2 [1] and upwards do support DHCP over Infiniband. dhcpcd-4 should as well, as the part of the code hasn't changed, but no-one's tested this. I don't have the hardware,

Re: mdev -s fails to create /dev entries

2008-07-11 Thread Rob Landley
On Friday 11 July 2008 13:39:40 Holland, John wrote: That is when you stay within /sys/class or /sys/block. Operating on the whole of /sys and following non-symlinks only will and does find all dev files reliably (don't know about the above mentioned loop devices). Ok, I'll bite. If you look