Re: [d-i] today's treecompare

2001-10-22 Thread Matt Kraai
Responding to the message of [EMAIL PROTECTED] from Ethan Benson [EMAIL PROTECTED]: On Sat, Oct 20, 2001 at 01:45:39AM -0600, Erik Andersen wrote: On Fri Oct 19, 2001 at 11:20:18PM -0800, Ethan Benson wrote: =20 busybox dd does not produce output like GNU dd. =20 So you have specifics?

Re: [d-i] today's treecompare

2001-10-22 Thread Mark van Walraven
On Sat, Oct 20, 2001 at 04:23:05AM -0600, Erik Andersen wrote: Umm. What possible good would it do to parse dd output? Check the return code. or stat the output file if you are paranoid. It was a way to determine file size in the absence of wc. But if you've enabled wc in b-f busybox,

Re: [d-i] today's treecompare

2001-10-22 Thread Erik Andersen
On Tue Oct 23, 2001 at 12:56:15PM +1300, Mark van Walraven wrote: On Sat, Oct 20, 2001 at 04:23:05AM -0600, Erik Andersen wrote: Umm. What possible good would it do to parse dd output? Check the return code. or stat the output file if you are paranoid. It was a way to determine file

Re: [d-i] today's treecompare

2001-10-22 Thread Mark van Walraven
On Mon, Oct 22, 2001 at 06:20:13PM -0600, Erik Andersen wrote: I did indeed re-enable wc. But seriously though, if you know the file's name, couldn't you just stat(2)? Something like: struct stat statbuf; ... stat(filename, statbuf); filesize = statbuf.st_size; Fine

Re: [d-i] today's treecompare

2001-10-22 Thread Erik Andersen
On Tue Oct 23, 2001 at 02:17:32PM +1300, Mark van Walraven wrote: Fine for C or Perl, but not for a sh script like debootstrap. cool. I hadn't realized this was debootstrap. I keep getting debootstrap and dbootstrap mixed up. Can't imagine why... :) -Erik -- Erik B. Andersen

Re: [d-i] today's treecompare

2001-10-20 Thread Ethan Benson
On Sat, Oct 20, 2001 at 06:34:12PM +1300, Mark van Walraven wrote: On Sat, Oct 20, 2001 at 12:54:23PM +1000, Anthony Towns wrote: On Fri, Oct 19, 2001 at 06:46:32PM -0400, Joey Hess wrote: Removed stuff: /bin/touch /usr/bin/head /usr/bin/sort /usr/bin/wc ...are all

Re: [d-i] today's treecompare

2001-10-20 Thread Erik Andersen
On Fri Oct 19, 2001 at 11:20:18PM -0800, Ethan Benson wrote: busybox dd does not produce output like GNU dd. So you have specifics? I've not seen a bug report from you. -Erik -- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer

Re: [d-i] today's treecompare

2001-10-20 Thread Ethan Benson
On Sat, Oct 20, 2001 at 01:45:39AM -0600, Erik Andersen wrote: On Fri Oct 19, 2001 at 11:20:18PM -0800, Ethan Benson wrote: busybox dd does not produce output like GNU dd. So you have specifics? I've not seen a bug report from you. well it at least didn't used to display any output.

Re: [d-i] today's treecompare

2001-10-20 Thread Mark van Walraven
On Fri, Oct 19, 2001 at 11:20:18PM -0800, Ethan Benson wrote: On Sat, Oct 20, 2001 at 06:34:12PM +1300, Mark van Walraven wrote: Substitute FILE for touch FILE. that should already be done in the last patch or two that were NMUed, Cool. but i could have missed one.

Re: [d-i] today's treecompare

2001-10-20 Thread Ethan Benson
On Sat, Oct 20, 2001 at 10:36:49PM +1300, Mark van Walraven wrote: On Fri, Oct 19, 2001 at 11:20:18PM -0800, Ethan Benson wrote: On Sat, Oct 20, 2001 at 06:34:12PM +1300, Mark van Walraven wrote: Substitute FILE for touch FILE. that should already be done in the last patch or two that

Re: [d-i] today's treecompare

2001-10-20 Thread Mark van Walraven
On Sat, Oct 20, 2001 at 01:03:12AM -0800, Ethan Benson wrote: but parsing some basically informative verbosity output from a utility is a damned fragile kludge of a way to do something, what if the format of this output changes in the future? Agree with the sentiment, but changing the output

Re: [d-i] today's treecompare

2001-10-20 Thread Mark van Walraven
On Sat, Oct 20, 2001 at 01:41:25AM -0800, Ethan Benson wrote: BTW: does ls --block-size=1 -s look broken to you? busybox ls doesn't know what that is. Sorry, meant fileutils' ls. Bug? the ls you have available on boot-floppies is busybox, not fileutils. Forget boot-floppies!

Re: [d-i] today's treecompare

2001-10-20 Thread Erik Andersen
On Sat Oct 20, 2001 at 01:03:12AM -0800, Ethan Benson wrote: On Sat, Oct 20, 2001 at 01:45:39AM -0600, Erik Andersen wrote: On Fri Oct 19, 2001 at 11:20:18PM -0800, Ethan Benson wrote: busybox dd does not produce output like GNU dd. So you have specifics? I've not seen a bug

Re: [d-i] today's treecompare

2001-10-20 Thread Joey Hess
Anthony Towns wrote: On Fri, Oct 19, 2001 at 06:46:32PM -0400, Joey Hess wrote: Removed stuff: /bin/touch /usr/bin/head /usr/bin/sort /usr/bin/wc ...are all used by debootstrap. Is there a full list somewhere? -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL

Re: [d-i] today's treecompare

2001-10-20 Thread Erik Andersen
On Sat Oct 20, 2001 at 01:40:42PM -0400, Joey Hess wrote: Adam Di Carlo wrote: Have you guys thought about moving to busybox /bin/sh rather than ash? Or do you do that already? Or something else? It wasn't quite a posix shell last time I checked. That was a while ago though. busybox

Re: [d-i] today's treecompare

2001-10-20 Thread Joey Hess
Erik Andersen wrote: busybox has a version of ash in it now. We have made a number of changes and add features like full command line editing, and tab completion, while still making it a fair bit smaller then the current ash package. There may be a few more things needed, but I'm already

[d-i] today's treecompare

2001-10-19 Thread Joey Hess
New busybox; I think this is about all we can squeeze out of it (if it's not going to far even..). Still 193k to go (compressed) before it'll fit on a floppy again. Size: removed 69k Dir count: unchanged File count: removed 34 New stuff (biggest first): Removed stuff:

Re: [d-i] today's treecompare

2001-10-19 Thread Joey Hess
Joey Hess wrote: New busybox; I think this is about all we can squeeze out of it (if it's not going to far even..). Still 193k to go (compressed) before it'll fit on a floppy again. Make that 143k -- I was missing a -pic library. By my calculations, once the kernel modules get unbloated, we

Re: [d-i] today's treecompare

2001-10-19 Thread Erik Andersen
On Fri Oct 19, 2001 at 08:17:07PM -0400, Joey Hess wrote: Joey Hess wrote: New busybox; I think this is about all we can squeeze out of it (if it's not going to far even..). Still 193k to go (compressed) before it'll fit on a floppy again. Make that 143k -- I was missing a -pic library.

Re: [d-i] today's treecompare

2001-10-19 Thread Mark van Walraven
On Sat, Oct 20, 2001 at 12:54:23PM +1000, Anthony Towns wrote: On Fri, Oct 19, 2001 at 06:46:32PM -0400, Joey Hess wrote: Removed stuff: /bin/touch /usr/bin/head /usr/bin/sort /usr/bin/wc ...are all used by debootstrap. Substitute FILE for touch FILE. Substitute