From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <933d4aa0e92a8df1348490ee89484b1a@brasstown.quanstro.net> References: <7d57bd30-6e43-4d54-8670-ef6c71fefae1@i5g2000vbk.googlegroups.com> <59b80455-8c28-49a8-9cf9-19a5b7c79529@googlegroups.com> <933d4aa0e92a8df1348490ee89484b1a@brasstown.quanstro.net> Date: Thu, 4 Apr 2013 15:20:23 +0200 Message-ID: From: =?UTF-8?B?QmVuY2UgRsOhYmnDoW4=?= To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=90e6ba6e8dfe3c2b4204d988d5c1 Subject: Re: [9fans] [9pi] standardize \ normalize setting dns in Topicbox-Message-UUID: 3da2dcd0-ead8-11e9-9d60-3106f5b1d025 --90e6ba6e8dfe3c2b4204d988d5c1 Content-Type: text/plain; charset=UTF-8 I tried with a dummy file and I get the same results as you. My guess (haven't checked anything) that it gets the other information from /net/ndb. However I'm in no way an ndb expert. Maybe someone knowledgable can weigh in on this. 2013/4/4 erik quanstrom > > ipnet=9front ip=10.0.2.0 ipmask=255.255.255.0 > > ipgw=10.0.2.2 > > dns=10.150.128.15 > > > > > > 5: r > !/bin/upas/marshal -s 'Re: [9fans] [9pi] standardize \ normalize setting > dns in' -R /mail/fs/mbox/1698 9fans@9fans.net > > sys=thor ether=525400123456 dom=thor.9front > > ip=10.0.2.15 > > > > > > and the output on my qemu terminal looks like this: > > > > term% ndb/query sys $sysname > > ip=10.0.2.15 ipmask=/120 ipgw=10.0.2.2 sys=thor dns=10.150.128.15 > > sys=thor ether=525400123456 dom=thor.9front ip=10.0.2.15 > > term% > > that doesn't look right. using the ndb excerpt posed, > i get this > > ; ndb/query -f /tmp/test.ndb sys thor > sys=thor ether=525400123456 dom=thor.9front > > were some bits left out of your example? > > - erik > > --90e6ba6e8dfe3c2b4204d988d5c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I tried with a dummy file and I get the same results as yo= u.
My guess (haven't checked anything) that it gets the other=
information from /net/ndb.

However I'm in no way an ndb expert. Maybe someone
know= ledgable can weigh in on this.

2013/4/4 erik quanstrom <= quanstro@quanstr= o.net>
> ipnet=3D9front ip=3D1= 0.0.2.0 ipmask=3D255.255.255.0
> ipgw=3D10.0.2.2
> dns=3D10.150.128.15
>
>

5: r
!/bin/upas/marshal -s 'Re: [9fans] [9pi] standardize \ normalize settin= g dns in' -R /mail/fs/mbox/1698 9fan= s@9fans.net
> sys=3Dthor ether=3D525400123456 dom=3Dthor.9front > ip=3D10.0.2.15
>
>
> and the output on my qemu terminal looks like this:
>
> term% ndb/query sys $sysname
> ip=3D10.0.2.15 ipmask=3D/120 ipgw=3D10.0.2.2 sys=3Dthor dns=3D10.150.1= 28.15
> sys=3Dthor ether=3D525400123456 dom=3Dthor.9front ip=3D10.0.2.15
> term%

that doesn't look right. =C2=A0using the ndb excerpt posed,
i get this

=C2=A0 =C2=A0 =C2=A0 =C2=A0 ; ndb/query -f /tmp/test.ndb sys thor
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sys=3Dthor ether=3D525400123456 dom=3Dthor.9fro= nt

were some bits left out of your example?

- erik


--90e6ba6e8dfe3c2b4204d988d5c1--