From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] semi-synthetic file system Date: Wed, 28 Sep 2005 17:29:27 +0100 From: rog@vitanuova.com In-Reply-To: <4339D0BC.8080405@lanl.gov> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 917c196e-ead0-11e9-9d60-3106f5b1d025 > I would most prefer just to hack u9fs, for a number of reasons if you really wish to mirror the linux /proc exactly but with ctl files, this wouldn't be hard. i'd be tempted to do things lexically. the path string is already held in the fid. just check if the fid's path matches "/proc/[0-9]+" - if so, then allow userwalk and useropen of "ctl", and amend rread() to add the extra entry in this case. there should be enough space in the 64-bit qid path to have a uniquely separate identifier for ctl files without impinging on linux inode space.