Re: Re: awkiawki and thttpd--can't save data
Francis Daly <[email protected]> Thu, 17 Jul 2003 15:39:31 +0100
| Newsgroups | gmane.comp.web.wiki.awkiawki.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jul 17, 2003 at 07:23:35AM -0500, [email protected] wrote: [ Content reordered] > > * 2003-07-14 [email protected]: > > > > > I found the problem--the version of dd I was using was incompatible > > > w/awkiawki. Changing to the GNU version fixed the problem. > > > > on what system, poohleeeeze?? > > > > clemens > I was using BusyBox 6.0 on Linux 2.0.34. Ah, that makes sense. awkiawki uses "dd ibs=1". The dd from busybox, according to the (full busybox) manual at http://www.busybox.net/downloads/BusyBox.html doesn't accept separate ibs and obs, just bs. The current development busybox is the same in that regard: <URL: http://www.busybox.net/cgi-bin/cvsweb/*checkout*/busybox/ coreutils/dd.c?rev=HEAD&content-type=text/plain > SUSv2, or at least what I can see at <URL: http://www.rdg.opengroup.org/onlinepubs/007908799/xcu/dd.html >, which appears to be authoritative, says that ibs is a supported operand. So I'd say that busybox is in the wrong (at least, if it claims SUSv2 compliance); but if we want to support it anyway, we could just use "dd bs=1" and accept that the next "cmd | getline" will be slightly less efficient due to the multiple 1-byte writes, rather than using the default output block size. (Or we could note that that is a recommended change for anyone using busybox.) f -- Francis Daly [email protected] ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0