Re: shells/bash port, add a knob which symlinks to /bin/bash ?

From: Brooks Davis <brooks_at_freebsd.org>
Date: Fri, 12 Sep 2014 22:45:58 +0000
On Sat, Sep 13, 2014 at 02:33:58AM +0400, Subbsd wrote:
> On Sat, Sep 13, 2014 at 2:23 AM, Craig Rodrigues <rodrigc_at_freebsd.org> wrote:
> > 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
> 
> https://wiki.freebsd.org/200808DevSummit?action=AttachFile&do=get&target=variant-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

Received on Fri Sep 12 2014 - 20:46:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC