From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 24 08:56:10 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 27870E26 for ; Mon, 24 Feb 2014 08:56:10 +0000 (UTC) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C759F1910 for ; Mon, 24 Feb 2014 08:56:09 +0000 (UTC) Received: from th-04.cs.huji.ac.il ([132.65.80.125]) by kabab.cs.huji.ac.il with esmtp id 1WHr6D-000HEk-JK; Mon, 24 Feb 2014 10:41:17 +0200 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Thoughts on Multi-Symlink Concept From: Daniel Braniss In-Reply-To: <4B5A7B51-74E2-4F8E-827D-251F0DBC9326@bitblocks.com> Date: Mon, 24 Feb 2014 10:39:10 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <530049a1.XXZ1PjZFgRyCu9X6%perryh@pluto.rain.com> <53092D83.6050603@digiware.nl> <4B5A7B51-74E2-4F8E-827D-251F0DBC9326@bitblocks.com> To: Bakul Shah X-Mailer: Apple Mail (2.1827) Cc: freebsd-filesystems@freebsd.org, freebsd-hackers@freebsd.org, Jordan Hubbard , Willem Jan Withagen , Perry Hutchison X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 08:56:10 -0000 and we also have automount/amd/am-utils/autofs =85 here we have /usr/local via am-utils mounted to the correct = arch/os/version. danny On Feb 23, 2014, at 10:02 PM, Bakul Shah wrote: >=20 > On Feb 22, 2014, at 7:13 PM, Jordan Hubbard = wrote: >=20 >> Indeed. I often tell interns who are looking for interesting project = ideas to simply look back into our own past. Almost all the really = interesting and cool research activities where operating systems are = concerned seems to have happened between the years of 1970-1990. = Sprite, Plan 9, Mach (hey, file space name servers anyone?), Domain OS, = all kinds of neat ideas that sadly died or were forgotten in the name of = consolidation, performance and expedience. Indeed, the performance of = some of those concepts was actually rather woeful when 4MB of memory and = 1MIP were all you one to work with. Maybe now that we have more = hardware horsepower than we almost know what to do with, it=92s time for = some of those ideas to enjoy a renaissance? Sounds like a good = EuroBSDCon or BSDCan talk. :-) >=20 > Plan9 is alive and well! Well, at least used by a small but > a diverse group of people! And with the advent of the plan9 > RaspberryPi port I see new people playing with it! >=20 > With Plan9 style per process name space, 9P protocol (to > easily construct a filesystem API for anything), mount() > syscall to connect to a fileserver speaking 9p, and bind() > syscall to overlay/underlay a filetree on another, you can > achieve the equivalent of variant symlinks and much more! > You can easily implement a 'multi-symlink' fs as well! >=20 > On plan9 all device drivers also speak 9p so you can even > mount a remote network stack on your local machine (no need > for NAT!). User programs such as rio (a window manager) and > acme (an editor) also provide FS access to their facilities =20 > which makes it easy to write scripts to interact with them. >=20 > Some examples: >=20 > bind $ARCH/bin /bin # now files in $ARCH/bin appear in /bin >=20 > mount /srv/dump /n/dump dump # make the dump fs available at /n/dump > bind /n/dump/2013/11/12/arm/lib/libc.a /arm/lib/libc.a > 5c -o foo foo.c # now foo is linked with libc.a of 12-Nov-2013 >=20 > 9fs sources # /n/sources points to sources/ on = sources.cs.bell-labs.com > bind /n/sources/plan9/sys/src /sys/src # overlay on local /sys/src >=20 > There is already support for 9P in Linux, Qemu and few other > places as it is pretty simple to add. UCB's many core=20 > research OS Akaros is using 9p and the network stack from > plan9. >=20 > If anyone is inspired to add 9p & friends support to FreeBSD, > I encourage you to play with plan9 on the RaspberryPi as it is > pretty easy to use and lots of fun. [Kernel compile takes a > minute on the RasPi. The equivalent of `make buildworld > buildkernel' about 4 minutes. Of course, the system is pretty > minimal] >=20 >=20 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to = "freebsd-hackers-unsubscribe@freebsd.org"