|
From: Bruce S. <bw...@ar...> - 2004-09-05 20:32:50
|
> I was just thinking if we should modify all the tar commands we use in > DL (save-config, init system) to work better on low memory systems. > According to 'man bunzip2' the '-s' parameter should help us, but will > at least take twice as long. > > Without this modification, DL 1.2 will not run on 32 MB systems. > > What do you think? I think we should do it. Good idea, but I don't think it'll work. At least not with floppies. We'd have to remove the "-j" from tar and run bzip2 separately. "-s" means something completely different to the tar command. And that will cause problems because a floppy isn't big enough to hold an uncompressed tar config image. If we do it anyway for USB drives. I agree with Diego that we should make it an option to run it either way. Or maybe better yet, if we could detect the amount of memory and make it default to the correct method without specifying an option. What about busybox? Would it do us any good? Does it have tar and/or bzip2 commands? - BS |