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] APE rename: wstat for 'none'
Date: Thu, 23 Aug 2012 12:23:02 -0400	[thread overview]
Message-ID: <b5ae7f9669866931bf2715341cc6a0ac@kw.quanstro.net> (raw)
In-Reply-To: <CAG3N4d-aMWWawDBksttk5AG4wv44LPkmoQ9XF7TAUZ85a7ZGGw@mail.gmail.c>

On Thu Aug 23 12:19:22 EDT 2012, yarikos@gmail.com wrote:
> > are you sure?
> >
> >         ; touch bz
> >         ; ratrace -c mv  bz bw >[2=1]| grep -v 'Stat|Brk'
>
> you forgot auth/none...

no, i didn't.  ratrace doesn't run if you're none.  but that's beside
the point.

as i understand it, your claim is that mv works as none but ape/rename
does not and this is because ape/rename uses wstat.

since mv doesn't test to see if you're running as none, this trace shows
that claim to be incorrect.  it's the same system call, and the same
9p message, regardless.

- erik



  parent reply	other threads:[~2012-08-23 16:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAG3N4d_daNzfAbW8cn5xvF3zJ7sx4gpjGpWpL2dL_3mXdNruzA@mail.gmail.c>
2012-08-23 15:16 ` erik quanstrom
2012-08-23 15:43   ` Yaroslav
     [not found]   ` <CAG3N4d9NVTKqwH9Ho0LkfSqxgZAxsGpwN_tFW-4k6GaUFdrQpA@mail.gmail.c>
2012-08-23 15:54     ` erik quanstrom
2012-08-23 16:18       ` Yaroslav
     [not found]       ` <CAG3N4d-aMWWawDBksttk5AG4wv44LPkmoQ9XF7TAUZ85a7ZGGw@mail.gmail.c>
2012-08-23 16:23         ` erik quanstrom [this message]
2012-08-23 16:32           ` Yaroslav
     [not found]           ` <CAG3N4d_XzC19rud_S4WjLdKV9H28S0FtEW3AnHFatL+UqGAcAw@mail.gmail.c>
2012-08-23 16:42             ` erik quanstrom
2012-08-23 16:54               ` Yaroslav
2012-08-23 14:46 Yaroslav

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=b5ae7f9669866931bf2715341cc6a0ac@kw.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).