From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] bind -c[ab] -- what am I doing wrong? In-Reply-To: <00b901c34c87$6d509780$b9844051@insultant.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-pssqulwlekjwzaevlmmjdcikcp" Date: Thu, 17 Jul 2003 13:35:29 -0400 Topicbox-Message-UUID: fa4d4cba-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-pssqulwlekjwzaevlmmjdcikcp Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit The confusing part may be the implicit bind that happens when you do bind -ca /sys/src/cmd $home/kern/cmd The resulting mount point has to things in the link list bound there: /sys/src/cmd - containing the create flag $home/kern/cmd - not containing the create flag The latter is implicit since you were binding -a onto a directory. You would have gotten the semantics you wanted if you had said instead: bind -c $home/kern/cmd $home/kern/cmd bind -ca /sys/src/cmd $home/kern/cmd --upas-pssqulwlekjwzaevlmmjdcikcp Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Thu Jul 17 13:21:27 EDT 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Thu Jul 17 13:21:24 EDT 2003 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id E9E9219BDC; Thu, 17 Jul 2003 13:21:16 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.16.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 2FA2919AE7; Thu, 17 Jul 2003 13:21:13 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id C8A6319BAF; Thu, 17 Jul 2003 13:20:26 -0400 (EDT) Received: from smtp.noos.fr (nan-smtp-04.noos.net [212.198.2.73]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id DEC3A19AE7 for <9fans@cse.psu.edu>; Thu, 17 Jul 2003 13:20:25 -0400 (EDT) Received: (qmail 30469817 invoked by uid 0); 17 Jul 2003 17:18:28 -0000 Received: from unknown (HELO coma) ([81.64.132.185]) (envelope-sender ) by 212.198.2.73 (qmail-ldap-1.03) with SMTP for <9fans@cse.psu.edu>; 17 Jul 2003 17:18:28 -0000 Message-ID: <00b901c34c87$6d509780$b9844051@insultant.net> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: Subject: Re: [9fans] bind -c[ab] -- what am I doing wrong? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 17 Jul 2003 19:18:22 +0200 X-Spam-Status: No, hits=-0.5 required=5.0 tests=REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) union directories are a linked list. - open finds you the first file in the list bound directories, in the order they were bound [before/after] - create choose the first directory which allows creation, in the order they were bound [before/after] the order they were bound is not temporal, it's where you bind them. it's that easy. --upas-pssqulwlekjwzaevlmmjdcikcp--