Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 22:45:58 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Subbsd <subbsd@gmail.com>
Cc:        Craig Rodrigues <rodrigc@freebsd.org>, Alfred Perlstein <bright@mu.org>, freebsd-current Current <freebsd-current@freebsd.org>
Subject:   Re: shells/bash port, add a knob which symlinks to /bin/bash ?
Message-ID:  <20140912224558.GA47936@spindle.one-eyed-alien.net>
In-Reply-To: <CAFt_eMpAWM6X20Y-qbK9LR0UTuXpFEfROSnP=JQ4n9smQGn=WA@mail.gmail.com>
References:  <CAG=rPVf5z4c6aheCngKy1g-iH8HexAWGQfHoSbtU9D1UC0Pbpg@mail.gmail.com> <20140912214004.GT6096@ivaldir.etoilebsd.net> <54136D5D.3090905@mu.org> <CAG=rPVeCwWQ5RP=EkkUMojzYprV3Se%2BjP9g31p0-eUmSPBUWRQ@mail.gmail.com> <CAFt_eMpAWM6X20Y-qbK9LR0UTuXpFEfROSnP=JQ4n9smQGn=WA@mail.gmail.com>

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

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

On Sat, Sep 13, 2014 at 02:33:58AM +0400, Subbsd wrote:
> On Sat, Sep 13, 2014 at 2:23 AM, Craig Rodrigues <rodrigc@freebsd.org> wr=
ote:
> > Hi,
> >
> > I could live with this solution of additional port outside of the main
> > bash port, which creates the symlink and updates /etc/shells.

This is the approach I took at my previous employer.  It's simple,
works with packages, and people who hate adding things to /bin can avoid
doing so.

> Looks like variant symlink is may be useful for solving this problem
> and it is not cluttered base
>=20
> https://wiki.freebsd.org/200808DevSummit?action=3DAttachFile&do=3Dget&tar=
get=3Dvariant-symlinks-for-freebsd.pdf

As the person who ported variant symlinks to FreeBSD I can't image how
they could be useful here.  If you need a /bin/bash you need to put a
file system object there (or I supposed hack namei).  Variant symlinks
only allow files to point to different things in different contexts.

-- Brooks

--LQksG6bCIzRHxTLp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlQTd6YACgkQXY6L6fI4GtQfYACeM/E2eEUEYlqdhW0GDEoL5UUX
n0YAn3zeJ1ev4f6wsvUJv8jYb/VusYMp
=DN3Y
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--



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