9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "david presotto" <presotto@closedmind.org>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] correcting old failures, and NJ vs MA
Date: Thu, 11 Oct 2001 10:29:27 -0400	[thread overview]
Message-ID: <006501c15261$226a9440$8e8b0241@sumt1.nj.home.com> (raw)
In-Reply-To: <87sncr7y7g.fsf@becket.becket.net>

> presotto@closedmind.org writes:
>
> > Moving a directory doesn't fall into any of these categories, though
> > some parts of the operation do.  The move itself should be in a library
> > if it's going to be used by more than one program.
>
> Moving a directory can *NOT* be done in constant time without special
> kernel support.  Even a Version 7 style unlink/link if it allowed
> links to directories would at least allow it to be possible (though
> with additional race conditions).

Plan 9 directory moves can't be done in constant time since, at the very
least,
the name space has to first be walked to see if it can be done quickly.  The
only way to do it would be to change how mounting works in the kernel,
perhaps adopting something like Sprite's prefix matches.  That would change
the system to be something very different than it currently is, just to get
a constant
time directory move.  Perhaps a worthwhile experiment, in fact one I'ld like
to do sometime for different reasons, but the result would be a very
different
system.

I said that there were some parts of the operation that should
be done in the kernel.  Doing  the whole thing in the kernel is sub
optimal, mostly because handling all the edge conditions would
involve doing file copies, etc, things that are easier to clean up after
failure at user level..

Were you just violently agreeing with me or is this some sort of
psychology experiment?

> > As for find, this isn't rocket science.  Quit yapping and implement it
> > if you want it.
>
> Alas, while I'm interested in the design and ideas of Plan 9, I'm not
> interested in contributing to someone's commercial (non-free-software)
> project unless I get remunerated.
>
> Thomas

Your loss though you weren't the only one asking for find.
I'm happy just composing du -a, grep, sed, and `{}.




  reply	other threads:[~2001-10-11 14:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-10 13:04 presotto
2001-10-11  9:10 ` Thomas Bushnell, BSG
2001-10-11 14:29   ` david presotto [this message]
2001-10-11 15:26     ` Boyd Roberts
2001-10-11 15:54       ` andrey mirtchovski
  -- strict thread matches above, loose matches on Subject: below --
2001-10-11 11:39 forsyth
2001-10-09 21:51 bwc
2001-10-09 21:44 forsyth
2001-10-09 17:43 anothy
2001-10-10  8:56 ` Thomas Bushnell, BSG
2001-10-10  9:16   ` Boyd Roberts
2001-10-11  4:27   ` Alexander Viro
2001-10-11  9:11     ` Thomas Bushnell, BSG

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='006501c15261$226a9440$8e8b0241@sumt1.nj.home.com' \
    --to=presotto@closedmind.org \
    --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).