Re: [9fans] Do you use fossil or venti under Linux?

2017-06-06 Thread Juan Céspedes
We use venti from plan9ports since 2008, as a daily back-up system for
about 60 servers.

Other than being slw, we are very happy with it.

On Tue, Jun 6, 2017 at 11:39 PM, James A. Robinson 
wrote:

> While I was playing around getting v9fs mounts to work, I see that
> plan9port has added fossil and venti at some point.  I was curious whether
> or not anyone was actually running these under Linux?
>
> Jim
>
>


-- 
Juan Cespedes
http://www.cespedes.org/


Re: [9fans] 8c, 8l, and empty files

2009-03-04 Thread Juan Céspedes
On Wed, Mar 4, 2009 at 12:43 AM, Anthony Sorace ano...@gmail.com wrote:
 i could see this going either way, but from my perspective the linker
 did what you told it.

The linker has NOT done what it is supposed to do.  From the man page:

 These commands load the named files into executable files
 for the corresponding architectures

And, in this case, it has not produced an executable file.

Furthermore, 8l should give an error when there is no function main().
 In fact, it shows that error unless there is no function at all in
any .8 input file.

-- 
Juan Cespedes



Re: [9fans] Very Off-Topic: Anybody here reads Sci-Fi? :)

2008-12-04 Thread Juan Céspedes
Hey, doesn't anybody like Orson Scott Card?

His books (specially Ender's Game and Ender's Shadow) are probably
among my top-5.

-- 
Juan Cespedes
http://www.cespedes.org/



Re: [9fans] test command

2008-09-10 Thread Juan Céspedes
Maybe I'm confused, but what Kenji said is that:

 test command of plan 9 has a operator older, the usage is:
test f -older t
 where f is a file and t is a time.

If f is a file ant t is a *time*, you can't do test t -older f

Juan



[9fans] venti: mem=sealed vs disk=sealed

2008-07-04 Thread Juan Céspedes
When asking for the /index URL to venti server, some arenas appear
having the disk=sealed flag in addition to the mem=sealed flag,
and some other don't.  I fail to see any mention of it in the
documentation, and a quick review of the source code makes me think
that it is related to icachedirty, which I guess means that some of
the clumps in that arena have not yet gone into the index.  Am I
right?

Well, the fact is that sometimes venti appears to be doing a hard work
sealing arenas (I mean, indexing clumps), and sometimes it doesn't.
Right now, in my venti server, I have 6 arenas with mem=sealed but
without disk=sealed.  In addition to that, doing:

hget 'http://127.1:8080/graph?arg=icachedirtytext=1' | tail -1

gives always the same values: the icachedirty values doesn't change.

Is this normal?  Is there any way to force venti to index clumps?

In case that matters, I am running venti on Linux, from plan9port-20080616.

Thanks,

Juan Cespedes



Re: [9fans] ftpfs ahould not expose . and .. directories

2008-04-28 Thread Juan Céspedes
On Mon, Apr 28, 2008 at 12:19 PM, Pietro Gagliardi [EMAIL PROTECTED] wrote:
 You do realize using strncmp means that a filename like .abc or ..whatever
 will also get hidden?

False.  He used strncmp(., field[8], 2), which matches the first 2
bytes, i.e.,
'.' and '\0'.

But I agree with you: strcmp() would be better here.

Juan