Re: [9fans] ndb and shortening names

2010-03-07 Thread lucio
> It finally works without any IP mentioned. Only the surrounding spaces > were the problem, otherwise my entry works as it was written in the > beginning... For the record, you may find CNAMEs workable too. Although CNAMES are restrictive, they are propagated to other OS platforms which is not t

Re: [9fans] ndb and shortening names

2010-03-07 Thread Rudolf Sykora
On 7 March 2010 19:58, Lyndon Nerenberg wrote: >> I wanted to shorten writing some often used addresses like >> penelopa.karlov.mff.cuni.cz >> e.g. in a scp command. I want to only have to write penelopa. > > If you don't want to wire down ip addresses in ndb: > > penelopa = penelopa.karlov.mff.cu

Re: [9fans] ndb and shortening names

2010-03-07 Thread Lyndon Nerenberg
I wanted to shorten writing some often used addresses like penelopa.karlov.mff.cuni.cz e.g. in a scp command. I want to only have to write penelopa. If you don't want to wire down ip addresses in ndb: penelopa = penelopa.karlov.mff.cuni.cz and use $penelopa in your commands.

Re: [9fans] ndb and shortening names

2010-03-07 Thread lucio
>> Btw. I saw the spaces in 'The Organization of Networks in Plan9' by >> Presotto & Winterbottom, part 4.1. on page 8, see 'sys = helix'. So >> there it is probably wrong... > > it does look to be a typo. patch submitted. No, it's a later change. I remember Presotto commenting on the need to a

Re: [9fans] ndb and shortening names

2010-03-07 Thread erik quanstrom
> Btw. I saw the spaces in 'The Organization of Networks in Plan9' by > Presotto & Winterbottom, part 4.1. on page 8, see 'sys = helix'. So > there it is probably wrong... it does look to be a typo. patch submitted. - erik

Re: [9fans] ndb and shortening names

2010-03-07 Thread Rudolf Sykora
On 7 March 2010 17:44, erik quanstrom wrote: >> sys = penelopa >>        dom=penelopa.karlov.mff.cuni.cz >> >> to /lib/ndb/local >> >> But that doesn't help. What's missing? > > an ip address.  also the spaces around the '=' > mean that ndb will fail to see sys/penelopa > as a key/value pair. > >

Re: [9fans] ndb and shortening names

2010-03-07 Thread erik quanstrom
> sys = penelopa >dom=penelopa.karlov.mff.cuni.cz > > to /lib/ndb/local > > But that doesn't help. What's missing? an ip address. also the spaces around the '=' mean that ndb will fail to see sys/penelopa as a key/value pair. since there is no ip address, dns is used. and you have to u

[9fans] ndb and shortening names

2010-03-07 Thread Rudolf Sykora
Hello, I wanted to shorten writing some often used addresses like penelopa.karlov.mff.cuni.cz e.g. in a scp command. I want to only have to write penelopa. So I added sys = penelopa dom=penelopa.karlov.mff.cuni.cz to /lib/ndb/local But that doesn't help. What's missing? Thanks Ruda