9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <rsc@swtch.com>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] errstr
Date: Tue,  6 Sep 2005 07:26:44 -0400	[thread overview]
Message-ID: <ee9e417a050906042616623feb@mail.gmail.com> (raw)

I think I've restored the file name-related error messages
to their original 9P2000 usefulness.  Due to a mistake on
my part two years ago, they'd broken and were always
showing the full path, even if the error happened much
earlier.  For example, if the directory "does" does not exist,
this is a bad error:

	% >does/not/exist
	does/not/exist: rc: can't open: 'does/not/exist' file does not exist
	% 

In contrast, this is a good error:

	% >does/not/exist
	does/not/exist: rc: can't open: 'does' file does not exist
	% 

There are new kernels on sources as of Saturday that
should have good error messages.  If you see any errors 
that don't show the right path:

  - check that you're running a new kernel 
    (ls -l '#c/cons' and see that the date is recent) 
  - if ramfs is involved, check that it's also new
    (ls -l /386/bin/ramfs) 

and then mail me.

Thanks.
Russ


             reply	other threads:[~2005-09-06 11:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 11:26 Russ Cox [this message]
2005-09-07  8:40 ` Scott Schwartz
2005-09-07 14:21   ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee9e417a050906042616623feb@mail.gmail.com \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).