* Re: [9fans] /bin/import
@ 2000-12-29 21:32 arisawa
0 siblings, 0 replies; 5+ messages in thread
From: arisawa @ 2000-12-29 21:32 UTC (permalink / raw)
To: 9fans
Hello
I said:
>By the way, it is required as much as 60 sec to connect to my host `ar'
>from my home plan9 terminal via ISDN line.
The problem came from my /lib/ndb/local.
I changed
proto=il
to
proto=tcp
of my remote auth server. Then the problem was fixed.
Thanks,
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] /bin/import
@ 2000-12-29 19:42 arisawa
0 siblings, 0 replies; 5+ messages in thread
From: arisawa @ 2000-12-29 19:42 UTC (permalink / raw)
To: 9fans
Hello
>is ar listening on il?
Yes ar is listening both il and tcp
Here is my experiments:
term% time import ar /n/kfs /n/ar
0.00u 0.00s 275.93r import ar /n/kfs /n/ar
cpu% netstat|grep exportfs
tcp 4 none Listen exportfs 0 ::
tcp 31 network Established exportfs 62836 IP1A0925.aic.mesh.ad.jp
il 0 none Listening exportfs 0 ::
term% time import tcp!ar!17007 /n/kfs /n/ar
0.00u 0.00s 60.63r import tcp!ar!17007 /n/kfs /n/ar
cpu% netstat|grep exportfs
tcp 4 none Listen exportfs 0 ::
tcp 32 network Established exportfs 62839 IP1A0925.aic.mesh.ad.jp
il 0 none Listening exportfs 0 ::
term% time import tcp!ar /n/kfs /n/ar
0.00u 0.01s 60.65r import tcp!ar /n/kfs /n/ar
cpu% netstat|grep exportfs
tcp 4 none Listen exportfs 0 ::
tcp 32 network Established exportfs 62841 IP1A0925.aic.mesh.ad.jp
il 0 none Listening exportfs 0 ::
term% time import il!ar!17007 /n/kfs /n/ar
import: can't dial il!ar!17007: interrupted(connect 202.250.160.40!17007)
0.00u 0.00s 60.00r import il!ar!17007 /n/kfs /n/ar # status=can't dial il!ar!17007: interrupted(connect 202.250.
Here, IP1A0925.aic.mesh.ad.jp is a name of internet service provider that I use to connect
from my home.
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
^ permalink raw reply [flat|nested] 5+ messages in thread
* [9fans] /bin/import
@ 2000-12-29 4:03 arisawa
0 siblings, 0 replies; 5+ messages in thread
From: arisawa @ 2000-12-29 4:03 UTC (permalink / raw)
To: 9fans
Hello
Manual says:
SYNOPSIS
import [ -abcC ] [ -f ] system file [ mountpoint ]
that is, `import' allows C option.
On the other hand, we will find in /sys/src/cmd/import.c:
void
main(int argc, char **argv)
{
char *mntpt;
int fd, mntflags;
mntflags = MREPL;
ARGBEGIN{
case 'a':
mntflags = MAFTER;
break;
case 'b':
mntflags = MBEFORE;
break;
case 'c':
mntflags |= MCREATE;
break;
case 'f':
fflag = 1;
break;
default:
usage();
}ARGEND;
Is the absence of C option in the source is a simple bug?
By the way, it is required as much as 60 sec to connect to my host `ar'
from my home plan9 terminal via ISDN line.
It seems IL does not reach `ar'. Therefore I am using TCP.
term% import tcp!ar /n/kfs /n/ar
The connection time is same when I put `f' option to `import'
On the other hand, cpu command
term% cpu -h tcp!ar -a netkey
responds without any delay.
Are there any reasons `import' requires much connection time?
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] /bin/import
@ 2000-12-28 14:54 rob pike
0 siblings, 0 replies; 5+ messages in thread
From: rob pike @ 2000-12-28 14:54 UTC (permalink / raw)
To: 9fans
It looks like import -C is just missing the -C flag. It's trivial to add,
although it scares me a little to do so. Import is used as much for
devices as plain files. I've updated it here, though; caveat importer.
-rob
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] /bin/import
@ 2000-12-28 14:41 presotto
0 siblings, 0 replies; 5+ messages in thread
From: presotto @ 2000-12-28 14:41 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 24 bytes --]
is ar listening on il?
[-- Attachment #2: Type: message/rfc822, Size: 2225 bytes --]
From: arisawa@ar.aichi-u.ac.jp
To: 9fans@cse.psu.edu
Subject: [9fans] /bin/import
Date: Thu, 28 Dec 2000 23:03:02 -0500
Message-ID: <20001228141011.C30D7199FF@mail.cse.psu.edu>
Hello
Manual says:
SYNOPSIS
import [ -abcC ] [ -f ] system file [ mountpoint ]
that is, `import' allows C option.
On the other hand, we will find in /sys/src/cmd/import.c:
void
main(int argc, char **argv)
{
char *mntpt;
int fd, mntflags;
mntflags = MREPL;
ARGBEGIN{
case 'a':
mntflags = MAFTER;
break;
case 'b':
mntflags = MBEFORE;
break;
case 'c':
mntflags |= MCREATE;
break;
case 'f':
fflag = 1;
break;
default:
usage();
}ARGEND;
Is the absence of C option in the source is a simple bug?
By the way, it is required as much as 60 sec to connect to my host `ar'
from my home plan9 terminal via ISDN line.
It seems IL does not reach `ar'. Therefore I am using TCP.
term% import tcp!ar /n/kfs /n/ar
The connection time is same when I put `f' option to `import'
On the other hand, cpu command
term% cpu -h tcp!ar -a netkey
responds without any delay.
Are there any reasons `import' requires much connection time?
Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-12-29 21:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-29 21:32 [9fans] /bin/import arisawa
-- strict thread matches above, loose matches on Subject: below --
2000-12-29 19:42 arisawa
2000-12-29 4:03 arisawa
2000-12-28 14:54 rob pike
2000-12-28 14:41 presotto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).