Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2008 10:00:21 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Magic symlinks redux
Message-ID:  <20080822150020.GA57443@lor.one-eyed-alien.net>
In-Reply-To: <g8kv7v$sp2$1@ger.gmane.org>
References:  <g8kv7v$sp2$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 22, 2008 at 01:54:29AM +0200, Ivan Voras wrote:
> I was reading about new things in NetBSD, and one thing caught my=20
> attention: per-user /tmp. See=20
> http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20080714_0251.html for=20
> example.
>=20
> Google says that a discussion about magic symlinks happens every now and=
=20
> then in FreeBSD but nothing really gets done. I found this implementation=
=20
> which looks like it's for 7.0:
>=20
> http://butcher.heavennet.ru/patches/kernel/magiclinks/
>=20
> As far as I understand the VFS (which isn't much...) this looks like an=
=20
> trivial patch, and it's compatible with NetBSD. Since I'm interested in=
=20
> this (specifically for the per-user /tmp and maybe similar gadgetry), I'd=
=20
> like to nurse this patch into the tree, if there are no objections (of=20
> course, I'll bug anyone I can find who knows VFS to review it :) ).

I have an implementation derived from Andrey's port of the DragonFly
implementation which will be committed in the next month or two.  We
discussed it in detail at the dev summit and subject to a few more
changes and cleanup, it's ready to go.  It allows significantly more
flexibility than the NetBSD approach while avoiding many of the pitfalls
involved in variant symlinks.

-- Brooks

--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iD8DBQFIrtSEXY6L6fI4GtQRAhW/AKC9QsRNlTI7GOYRiNk1qj6dcfd/hwCffNK2
cxXon+HubEaMQQBnDu/fPxc=
=Vnoi
-----END PGP SIGNATURE-----

--jRHKVT23PllUwdXP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080822150020.GA57443>