From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <398A1F6D-E0E9-4D52-B8F2-D0661D8A0516@mac.com> Content-Transfer-Encoding: 7bit From: Gary Wright Subject: Re: [9fans] unique identity to virtual files Date: Tue, 15 Jan 2008 11:29:32 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 2e9a75ae-ead3-11e9-9d60-3106f5b1d025 On Jan 15, 2008, at 8:09 AM, Steve Simon wrote: > The A needs to be able to tell the difference between a > 'real' directory and one generated by B. > > I could use the muid and uid and gid as magic strings, alternatively I > could use the dev or/and type fields from stat. Any reason why B, since it is already synthetic, can't synthesize a special file with a well-known name that can be used to signal the virtual expansion? It seems simpler than overloading the semantics of a stat entry. You could even use the 'aname' of the attach message to specify the name of the sigil file if you need it to be dynamic. Gary Wright