tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: chown in /sbin



On Tue, 11 Jan 2011, der Mouse wrote:
> How much of a mess would it be to (say) have /usr/src/usr.sbin/foo
> build a binary which gets installed into /bin/foo?  (Of course it's
> possible; it's just a question of how easy it would be.)

It's very easy; just add BINDIR=/bin to src/usr.sbin/foo/Makefile,
and it will install /bin/foo instead of installing /usr/sbin/foo.

I recommend *not* doing this, because it would be confusing for humans
using the source tree.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index