9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@caldo.demon.co.uk
To: 9fans@cse.psu.edu
Subject: Re: [9fans] correcting old failures, and NJ vs MA
Date: Thu, 11 Oct 2001 12:39:23 +0100	[thread overview]
Message-ID: <20011011113633.7104419A4B@mail.cse.psu.edu> (raw)

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

i see this rumbles on.  what i tried to point out in my video file example
(using a file not a directory but the point is the same)
is that unix doesn't do mv in constant time for either files or directories,
except in the particular case that both names point into the same physical file system.
otherwise it can only do what plan 9 does.

now, on all the out-of-the-box unix systems i looked at before
posting, of the set {/, /var, /tmp, /usr, /home} at least two were
always on different physical file systems, particularly /tmp and /usr
or /home.  i don't know why they do that when it's not necessary but
they do.  it would be worse if any possessed the chaos of automounted
NFS links i've seen on most large unix installations in the past.

i'd say all that makes it worse for the user because now i need to
understand the underlying file system topology to take advantage of the
optimisation and arguably it would be easier to understand under windows
which requires you to see all the device and partition boundaries!



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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 11:39 forsyth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-10 13:04 presotto
2001-10-11  9:10 ` Thomas Bushnell, BSG
2001-10-11 14:29   ` david presotto
2001-10-11 15:26     ` Boyd Roberts
2001-10-11 15:54       ` andrey mirtchovski
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=20011011113633.7104419A4B@mail.cse.psu.edu \
    --to=forsyth@caldo.demon.co.uk \
    --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).