9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] getting message need /sys/man/2/genrandom
Date: Mon, 30 Mar 2009 09:09:04 -0400	[thread overview]
Message-ID: <8cefe3fb1371de564710c70ce6736367@quanstro.net> (raw)
In-Reply-To: <5fb3d6f8-7e0d-424e-b823-848c450cfdfe@d19g2000yqb.googlegroups.com>

> term% pull
> post...
> c sys/man/2/rand
> a sys/man/2/genrandom 664 sys sys 1196638940
> c 386/lib/ape/libap.a
> c sys/src/boot/pc/ether82563.c
> term% man genrandom
> need /sys/man/2/genrandom
> term% man genrandom
> need /sys/man/2/genrandom

that is very strange.  "need $x" is printed
when test -f $x fails.  this test is to guard
against the case where the man page exists
in the section index (/sys/man/?/INDEX)
but doesn't exist.  test -f is false if
dirstat returns nil or the file is a directory.
unless of course, you /bin/test is something
different than /386/bin/test
	sum /386/bin/test /bin/test
should produce two identicial lines.

on my system with ken's fs, there's no way
to make test -f false and be able to read the
index.  perhaps there is some wierd mode
setting on fossil that makes this possible.
i think
	ls -ld /sys/man/2^('' INDEX genrandom)
would likely provide the answer.

- erik



      reply	other threads:[~2009-03-30 13:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30  9:05 ROuNIN
2009-03-30 13:09 ` erik quanstrom [this message]

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=8cefe3fb1371de564710c70ce6736367@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).