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

Brooks Davis brooks at freebsd.org
Fri Sep 12 22:46:06 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140912/a2aed12c/attachment-0001.sig>


More information about the freebsd-current mailing list