Re: [9fans] Query regarding vac

2009-02-20 Thread anooop . anooop
> that's probably because vac stores the metadata about > the file as well as the file itself. the score is probably > different because the access time of the file has changed. > > if you really always want the same score for the same > file, i think you'll probably have to hack vac to do what yo

Re: [9fans] Calling vac from C

2009-02-20 Thread anooop . anooop
On Feb 19, 8:03 am, quans...@quanstro.net (erik quanstrom) wrote: > what's wrong with the tools-based approach > you're currently using? > > this may be hard to believe coming from unix, > but your approach is what many tools do.  nobody > links to a tcs library.  one uses the tcs(1) > executable.

[9fans] Calling vac from C

2009-02-19 Thread anooop . anooop
Hello once again, I was wondering whether if there are any libraries that I can include to call vac and unvac directly from my C code. Currently I am executing them in the shell using popen and capturing the output. I am looking for better ways. ~Anoop

[9fans] Query regarding vac

2009-02-19 Thread anooop . anooop
Hello All, I was using venti/write to store off small data sets which are less than a datablock in size earlier. But now I have started using vac for larger data but I have come across this problem: Writing the same datablock to the venti server used to give me the same score always. But vac does

Re: [9fans] Regarding venti block size

2009-02-17 Thread anooop . anooop
> i guess i'm not up to speed yet. what is the advantage > of supporting blocks of different sizes? > > - erik I am doing a part of a bigger project which involves splitting files into many pieces and storing them separately for security reasons. I thought of using each piece as a block of data t

Re: [9fans] Regarding venti block size

2009-02-17 Thread anooop . anooop
On Feb 16, 2:26 pm, rminn...@gmail.com (ron minnich) wrote: > >> I was reading up on vac and vbackup but they talk about backing up > >> file system trees and disks which is not what I am looking for. > > I don't get this comment. You want to backup a file, right? What about > 'file system tree' is

Re: [9fans] Regarding venti block size

2009-02-16 Thread anooop . anooop
On Feb 16, 11:20 am, mattmob...@proweb.co.uk (matt) wrote: > I have a few wheel designs here in my basement too, did you mean that I am trying to re-invent the wheel? :-) Please do let me know if there is already some functionality to store and retrieve a single file without breaking up the file

Re: [9fans] Regarding venti block size

2009-02-16 Thread anooop . anooop
On Feb 16, 9:32 am, quans...@quanstro.net (erik quanstrom) wrote: > > This is what I get when I try to store files of size around 300KB : > > "write: input too big: max block size is 57344" > > this is why god^wken used filesystems. > > try vac(1), fossil(4) or if you need something > esoteric you

[9fans] Regarding venti block size

2009-02-16 Thread anooop . anooop
Hello All, I want to store some big files on venti. size range around 200MB. Is there any way to do this? This is what I get when I try to store files of size around 300KB : "write: input too big: max block size is 57344" I was wondering may be if increase the block size in arena partition thi