From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 17 Apr 2014 08:51:10 -0400 To: 9fans@9fans.net Message-ID: <92444c88f943fcfc544e87f7378d8e10@brasstown.quanstro.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] origin of /root Topicbox-Message-UUID: d972eb82-ead8-11e9-9d60-3106f5b1d025 > have we reliable way to find the origin of /root. > local file system? > remote file system? define origin. locating the server isn't too hard. if ndb is properly set up, then this should work if '#ec/nobootprompt' or '#ec/bootargs' is il or tcp, then ; ndb/ipquery sys $sysname fs fs=lyons.quanstro.net else it's local, and you're done. alternate method (potentially less reliable): 1. grep '[ ](#s|/srv)/boot'. if any process has it open, it's the file server, else 2. find a tcp or il connection with remote net!*!9fs, and that's your file server. when in doubt, it's likely the lowest numbered fs. - erik