From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) From: Nemo In-Reply-To: <80f440ac009d67c54e1ac6ed82d2b093@9srv.net> Date: Tue, 9 Apr 2013 23:05:06 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <80f440ac009d67c54e1ac6ed82d2b093@9srv.net> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Unintuitive mount behavior Topicbox-Message-UUID: 3f89bd84-ead8-11e9-9d60-3106f5b1d025 On Apr 9, 2013, at 10:56 PM, a@9srv.net wrote: > This came up in #plan9, and I reduced it to this example: > > :; mkdir cat dog pig > :; echo meow > cat/tabby > :; echo woof > dog/mutt > :; bind cat pig When you reach pig, you now jump to cat. > :; bind dog/mutt pig/tabby You resolve pig/tabby before the bind, which means cat/tabbly because of the bind > :; cat cat/tabby > woof And there your are. That's unless I'm too sleepy, of course. I had problems with mount tables because I came from unix. Here they are just "jump here to there", but it's hard to assume, at least to me, because it's too simple for what I'd expect, perhaps.