9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] no file in /mnt/term/dev, seemingly
@ 2001-11-09  7:40 Russ Cox
  2001-11-09  8:36 ` YAMANASHI Takeshi
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2001-11-09  7:40 UTC (permalink / raw)
  To: 9fans

> Now, how can I understand this?

Looks like a bug to me.
What is the output when you type "ns"
on the cpu server?  How about "wc /mnt/term/dev/"?

Russ



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] no file in /mnt/term/dev, seemingly
  2001-11-09  7:40 [9fans] no file in /mnt/term/dev, seemingly Russ Cox
@ 2001-11-09  8:36 ` YAMANASHI Takeshi
  0 siblings, 0 replies; 4+ messages in thread
From: YAMANASHI Takeshi @ 2001-11-09  8:36 UTC (permalink / raw)
  To: 9fans

> What is the output when you type "ns"
> on the cpu server?  How about "wc /mnt/term/dev/"?

I attach the output of "ns", "ls -ld /mnt/term/dev",
and the file lib/profile at the end of this mail.

"wc /mnt/term/dev/" produced the following.
      0      0      0 /mnt/term/dev/

Adding to that, I do see many files in many directories
other than /mnt/term/dev, i.e, /mnt/term/^(usr env bin).

P.S.
I'm going to depart for U.S. to attend Super Computing 2001
in a few days.  I wouldn't be able to see mail for a week.



--- and other command outputs ---
> ___ ls output on cpu server ___
> cpu% ls -ld /mnt/term/dev
> d-r-xr-xr-x M 442   0 Nov  9 10:31 /mnt/term/.
>
> cpu% ls -l /mnt/term | grep dev
> d-r-xr-xr-x M 442 nashi nashi     0 Mar 15  2001 /mnt/term/dev
>
>
> ___ ns output on cpu server ___
> bind  /root /root
> mount -aC '#s/boot' /root
> bind  / /
> bind -a /root /
> mount -a '#s/boot' /
> bind  '#c' /dev
> bind  '#d' /fd
> bind -c '#e' /env
> bind  '#p' /proc
> bind -c '#s' /srv
> bind  /386/bin /bin
> bind -a /rc/bin /bin
> bind  /net /net
> bind -a '#l' /net
> bind -a '#I' /net
> mount -a '#s/cs' /net
> mount -a '#s/dns' /net
> bind -a '#D' /net
> mount -c '#s/boot' /n/termrc.tmp
> bind -c /n/termrc.tmp/mail /mail
> bind -c /usr/nashi/tmp /tmp
> mount -c /net/ssl/1/data /mnt/term
> bind -bc /usr/nashi/bin/rc /bin
> bind -bc /usr/nashi/bin/386 /bin
> bind  /386/lib /386/lib
> bind -bc /usr/nashi/lib/386 /386/lib
> bind  /sys/include /sys/include
> bind -bc /usr/nashi/include /sys/include
> bind  /sys/games/lib /sys/games/lib
> bind -ac /usr/nashi/games/lib /sys/games/lib
> bind  /lib/font/bit/jis /lib/font/bit/jis
> bind -b /usr/nashi/lib/font/bit/jis /lib/font/bit/jis
> bind  /lib/font/bit/lucidasans /lib/font/bit/lucidasans
> bind -b /usr/nashi/lib/font/bit/lucidasans /lib/font/bit/lucidasans
> bind -a /mnt/term/mnt/wsys /dev
> bind  /mnt/term/dev/cons /dev/cons
> bind  /mnt/term/dev/consctl /dev/consctl
> bind -a /mnt/term/dev /dev
> mount  '#|/data1' /mail/fs
> cd /usr/nashi
>
>
> ___ lib/profile (the same file on both cpu and terminal) ___
> bind -bc $home/bin/rc /bin
> bind -bc $home/bin/$cputype /bin
> bind -bc $home/lib/$cputype /$cputype/lib
> bind -bc $home/include /sys/include
> bind -ac $home/games/lib /sys/games/lib
> bind -b $home/lib/font/bit/jis /lib/font/bit/jis
> bind -b $home/lib/font/bit/lucidasans /lib/font/bit/lucidasans
> bind -c tmp /tmp
> font = /lib/font/bit/lucidasans/unicode.7.font
> SKKSERV = beat
> 9fs beat $home/public_html
> switch($service){
> case terminal
> 	plumber
> 	upas/fs
> 	echo -n accelerated > '#m/mousectl'
> 	echo -n 'res 3' > '#m/mousectl'
> 	prompt=('term% ' '	')
> 	fn term%{ $* }
> 	exec rio -i riostart
> case cpu
> 	if (test -e /mnt/term/mnt/wsys) {
> 		# rio already running
> 		bind -a /mnt/term/mnt/wsys /dev
> 		echo -n $sysname > /dev/label
> 	}
> 	bind /mnt/term/dev/cons /dev/cons
> 	bind /mnt/term/dev/consctl /dev/consctl
> 	bind -a /mnt/term/dev /dev
> 	prompt=('cpu% ' '	')
> 	fn cpu%{ $* }
> 	upas/fs
> 	news
> 	if (! test -e /mnt/term/mnt/wsys) {
> 		# cpu call from drawterm
> 		font=/lib/font/bit/pelm/latin1.8.font
> 		exec rio
> 	}
> case con
> 	prompt=('cpu% ' '	')
> 	news
> }
>
--
YAMANASHI Takeshi



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] no file in /mnt/term/dev, seemingly
@ 2001-11-09  3:15 okamoto
  0 siblings, 0 replies; 4+ messages in thread
From: okamoto @ 2001-11-09  3:15 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 118 bytes --]

Something may be wrong...

When I say ls -l /mnt/term/dev at cpu server, I have many directories there.

Kenji


[-- Attachment #2: Type: message/rfc822, Size: 2449 bytes --]

From: YAMANASHI Takeshi <uncover@beat.cc.titech.ac.jp>
To: 9fans@cse.psu.edu
Subject: [9fans] no file in /mnt/term/dev, seemingly
Date: Fri, 09 Nov 2001 09:42:54 +0900
Message-ID: <29771.1005266574@beat.cc.titech.ac.jp>

 From a terminal, I connected to a cpu server by using cpu(1).
The Manual says that the terminal-side filesystem can be found
in /mnt/term.

It is true that /mnt/term contains certain files/directories.
But when I looked into /mnt/term/dev, there is nothing seemingly.
But again, when I tried `ls -l /mnt/term/dev/cons' it showed
the listing of cons.
	p9t % cpu
	cpu% ls -l /mnt/term/dev
	cpu% ls -l /mnt/term/dev/cons
	--rw------- M 408 nashi 0 Nov 9 09:40 /mn/term/dev/cons

Now, how can I understand this?
--
YAMANASHI Takeshi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] no file in /mnt/term/dev, seemingly
@ 2001-11-09  0:42 YAMANASHI Takeshi
  0 siblings, 0 replies; 4+ messages in thread
From: YAMANASHI Takeshi @ 2001-11-09  0:42 UTC (permalink / raw)
  To: 9fans

 From a terminal, I connected to a cpu server by using cpu(1).
The Manual says that the terminal-side filesystem can be found
in /mnt/term.

It is true that /mnt/term contains certain files/directories.
But when I looked into /mnt/term/dev, there is nothing seemingly.
But again, when I tried `ls -l /mnt/term/dev/cons' it showed
the listing of cons.
	p9t % cpu
	cpu% ls -l /mnt/term/dev
	cpu% ls -l /mnt/term/dev/cons
	--rw------- M 408 nashi 0 Nov 9 09:40 /mn/term/dev/cons

Now, how can I understand this?
--
YAMANASHI Takeshi


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-09  8:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-09  7:40 [9fans] no file in /mnt/term/dev, seemingly Russ Cox
2001-11-09  8:36 ` YAMANASHI Takeshi
  -- strict thread matches above, loose matches on Subject: below --
2001-11-09  3:15 okamoto
2001-11-09  0:42 YAMANASHI Takeshi

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).