>From: Yedidyah Bar-David [mailto:[EMAIL PROTECTED] >Sent: Sunday, May 02, 2004 2:34 PM >To: Honen, Oren >Cc: Tzafrir Cohen; [EMAIL PROTECTED] >Subject: Re: Huge file patches > >On Sun, May 02, 2004 at 02:11:27PM +0300, Honen, Oren wrote: >> Thanks, but... >[snip] >> As I said, this file is meant to be read by a commercial application. I >> can not touch this application so I need my new file to look & feel as a >> real ascii file. This file is supplied via a parameter and not as stdin >> redirection. > >It's not clear what you _can_ do. Do you run it, or something else, over >which you have no control? If you run it, why not run it on another file >which is the output of, say, patch? If you do not run it yourself, and >have no control over what does run it (e.g. cron and you have no root), >you obviously can't do anything. Your question implies that you think >you can do something. Can you tell us more? >-- >Didi
Let me try to be more clear: I'm running an application which I can't touch it's code. This app. is reading a data file I'm giving it via a command line option ( -i <file name> ). The file I'm giving is the huge data file of which I have several variants. The difference between the variants is only several lines. I need to have all the variants in my release and I have several releases. The original data file ( i.e. the huge file ) is located on nfs. My releases are also located on nfs and my quota is limited. Yes, I can increase my quota but I want "smarter" solution. Yes, I can make local variants when running the application but I want... If it's not clear, then something has to run in the background and know the original file, the patch and the destination file. It needs to be able to answer open, read and maybe even write. And now to direct answers: - I run the application so I can give what ever input data name/path I wish. - I have no control over the application ones it is running but I know it reads the ascii file. I also know by it's memory usage, that it does not load the entire data to memory. - FIFO can not be used as I guess that the data is not read sequentially since it is a N-tree data structure. - I don't really know but I don't think I can use ld_preload as I don't know how the app. is working or how it was compiled. As far as I know, the app. is a black box that reads a huge text based N-tree design. - I wish to gain disk quota on my nfs area. Anyway I already gained some knowledge, and for that only I thank you all. Oren. ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
