From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 3 Jan 2006 15:24:03 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] clunk clunk In-Reply-To: <775b8d190601031207n5b2eaec3y1ca22e4c0a4bf960@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <775b8d190601031128t6efe9166ta02fad0dcf0f1d04@mail.gmail.com> <775b8d190601031207n5b2eaec3y1ca22e4c0a4bf960@mail.gmail.com> Topicbox-Message-UUID: cf8f99e2-ead0-11e9-9d60-3106f5b1d025 > Bullshit. It happens all the time. Rio+Plumber is a simple example. In the standard profile, as set up by /sys/lib/newuser or demonstrated in /usr/glenda/lib/profile, plumber is run before rio starts, so rio has plumber mounted but not vice versa: % grep plumb /proc/^`{ps|grep rio|awk '{print $2}'}^/ns /proc/86746/ns:mount #s/plumb.rsc.86763 /mnt/plumb /proc/86768/ns:mount #s/plumb.rsc.86763 /mnt/plumb /proc/86769/ns:mount #s/plumb.rsc.86763 /mnt/plumb /proc/86770/ns:mount #s/plumb.rsc.86763 /mnt/plumb /proc/86771/ns:mount #s/plumb.rsc.86763 /mnt/plumb /proc/86772/ns:mount #s/plumb.rsc.86763 /mnt/plumb /proc/86773/ns:mount #s/plumb.rsc.86763 /mnt/plumb % grep rio /proc/^`{ps|grep plumb|awk '{print $2}'}^/ns % If you want to actually cause a loop, then you could run plumber in your riostart (as in rio -i riostart) file. But there are plenty of ways to shoot yourself in the foot with ref count loops if you really want to go there. A much more direct one is to run a file server that mounts itself into its own name space. Russ