9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] a curiosity
@ 2003-11-13 21:20 Richard Miller
  2003-11-13 22:10 ` Charles Forsyth
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Miller @ 2003-11-13 21:20 UTC (permalink / raw)
  To: 9fans

term% grep x /tmp/foo /mnt/foo /srv/foo /net/foo
grep: can't open /tmp/foo: '/tmp/foo' directory entry not found
grep: can't open /mnt/foo: '/mnt/foo' not found
grep: can't open /srv/foo: '/srv/foo' file does not exist
grep: can't open /net/foo: '/net/foo' dns: file does not exist

The last one is particularly mysterious ...

-- Richard



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

* Re: [9fans] a curiosity
  2003-11-13 21:20 [9fans] a curiosity Richard Miller
@ 2003-11-13 22:10 ` Charles Forsyth
  2003-11-13 23:40   ` rog
  0 siblings, 1 reply; 5+ messages in thread
From: Charles Forsyth @ 2003-11-13 22:10 UTC (permalink / raw)
  To: 9fans

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

it walks each element of the union, dns is at the back,
and it puts dns: in front of its Rerror replies.

/mnt/foo's diagnostic is (in a similar way) factotum

/srv is devsrv.c's (and the kernel's Enoent)

directory entry not found is the file server

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

From: Richard Miller <miller@hamnavoe.demon.co.uk>
To: 9fans@cse.psu.edu
Subject: [9fans] a curiosity
Date: Thu, 13 Nov 2003 21:20:09 0000
Message-ID: <76a2636b1534a8c8bf30bdda3eb5514f@hamnavoe.com>

term% grep x /tmp/foo /mnt/foo /srv/foo /net/foo
grep: can't open /tmp/foo: '/tmp/foo' directory entry not found
grep: can't open /mnt/foo: '/mnt/foo' not found
grep: can't open /srv/foo: '/srv/foo' file does not exist
grep: can't open /net/foo: '/net/foo' dns: file does not exist

The last one is particularly mysterious ...

-- Richard

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

* Re: [9fans] a curiosity
  2003-11-13 23:40   ` rog
@ 2003-11-13 23:40     ` mirtchov
  2003-11-14  7:21       ` boyd, rounin
  0 siblings, 1 reply; 5+ messages in thread
From: mirtchov @ 2003-11-13 23:40 UTC (permalink / raw)
  To: 9fans

> it shouldn't take much effort to just go through the various
> instances, standardising the "file does not exist" message...

it'll also help with internationalization, if that ever becomes a
desired feature.




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

* Re: [9fans] a curiosity
  2003-11-13 22:10 ` Charles Forsyth
@ 2003-11-13 23:40   ` rog
  2003-11-13 23:40     ` mirtchov
  0 siblings, 1 reply; 5+ messages in thread
From: rog @ 2003-11-13 23:40 UTC (permalink / raw)
  To: 9fans

> /mnt/foo's diagnostic is (in a similar way) factotum
>
> /srv is devsrv.c's (and the kernel's Enoent)
>
> directory entry not found is the file server

it'd be nice if there was a standard diagnostic that programs could
test against if they wished.

it shouldn't take much effort to just go through the various
instances, standardising the "file does not exist" message...



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

* Re: [9fans] a curiosity
  2003-11-13 23:40     ` mirtchov
@ 2003-11-14  7:21       ` boyd, rounin
  0 siblings, 0 replies; 5+ messages in thread
From: boyd, rounin @ 2003-11-14  7:21 UTC (permalink / raw)
  To: 9fans

> it'll also help with internationalization, if that ever becomes a
> desired feature.

i like the 'ascii text style', but what a nightmare when it comes to
internationalisation.



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

end of thread, other threads:[~2003-11-14  7:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 21:20 [9fans] a curiosity Richard Miller
2003-11-13 22:10 ` Charles Forsyth
2003-11-13 23:40   ` rog
2003-11-13 23:40     ` mirtchov
2003-11-14  7:21       ` boyd, rounin

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