From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <45fe7ac7a1dab989624aa4ed2b376ff9@brasstown.quanstro.net> References: <36c9016b7918c302d777f1a605fc107f@brasstown.quanstro.net> <2CBEED8D-800D-40C8-8182-162695D9FF30@9srv.net> <45fe7ac7a1dab989624aa4ed2b376ff9@brasstown.quanstro.net> Date: Wed, 4 Feb 2015 09:28:17 +0100 Message-ID: From: Giacomo Tesio To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1134ca762982eb050e3ef8f6 Subject: Re: [9fans] wstat and atomic directory change Topicbox-Message-UUID: 3fd80a7e-ead9-11e9-9d60-3106f5b1d025 --001a1134ca762982eb050e3ef8f6 Content-Type: text/plain; charset=UTF-8 2015-02-04 4:51 GMT+01:00 erik quanstrom : > On Tue Feb 3 01:01:02 PST 2015, steve@quintile.net wrote: > > > the control file idea is a neat way of doing atomic moves. > > > > control files are a good way of dealing with all kinds of exceptional > behavior. > > but ... > > to be fair, this goes against the unix ideal of having uniform file > operations. > You are right. But since protocol customizations goes against that same ideal, what's the plan9 way of dealing with a feature X (in this specific case atomic file moves)? > this requires delving into the namespace to tell that the directories are > still under the > same mount, and some non-uniform operations. > Good point. But thus, what are the alternatives? Giacomo --001a1134ca762982eb050e3ef8f6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2015= -02-04 4:51 GMT+01:00 erik quanstrom <quanstro@quanstro.net>:
On Tue Feb=C2=A0 3 01:01:02 PST = 2015, steve@quintile.net wrote:
> the control file idea is a neat way of doing atomic moves.
>

control files are a good way of dealing with all kinds of exceptiona= l behavior.

but ...

to be fair, this goes against the unix ideal of having uniform file operati= ons.

You are right.
But since= protocol customizations goes against that same ideal, what's the plan9= way of dealing with a feature X (in this specific case atomic file moves)?=
=C2=A0
this requires delving into the namespace to tell that the directories are s= till under the
same mount, and some non-uniform operations.

Good point. But thus, what are the alternatives?

=

Giacomo
--001a1134ca762982eb050e3ef8f6--