From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <36c9016b7918c302d777f1a605fc107f@brasstown.quanstro.net> <2CBEED8D-800D-40C8-8182-162695D9FF30@9srv.net> <45fe7ac7a1dab989624aa4ed2b376ff9@brasstown.quanstro.net> Date: Thu, 5 Feb 2015 17:46:34 +0100 Message-ID: From: Giacomo Tesio To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11342afe058729050e5a0c41 Subject: Re: [9fans] wstat and atomic directory change Topicbox-Message-UUID: 41860f1a-ead9-11e9-9d60-3106f5b1d025 --001a11342afe058729050e5a0c41 Content-Type: text/plain; charset=UTF-8 Il 05/Feb/2015 17:26 "erik quanstrom" ha scritto: > > I'm wondering for a > > synthetic filesystem in which, when you move a folder in a special > > directory, something magic happens. > > As far as I can see, it is not possible with a 9p2000 fileservice, is it? > > i don't see why you can't make a magic directory that works that way. > How? Which 9p message would trigger the magic? I just see 2 options: 1. Have a control file 2. Use custom wstat with full path to move But if both are wrong, I'm lost. Giacomo --001a11342afe058729050e5a0c41 Content-Type: text/html; charset=UTF-8

Il 05/Feb/2015 17:26 "erik quanstrom" <quanstro@quanstro.net> ha scritto:

> > I'm wondering for a
> > synthetic filesystem in which, when you move a folder in a special
> > directory, something magic happens.
> > As far as I can see, it is not possible with a 9p2000 fileservice, is it?
>
> i don't see why you can't make a magic directory that works that way.
>

How? Which 9p message would trigger the magic?

I just see 2 options:
1. Have a control file
2. Use custom wstat with full path to move

But if both are wrong, I'm lost.

Giacomo

--001a11342afe058729050e5a0c41--