A modest hier proposal

Jim Trigg jtrigg at huiekin.org
Fri Sep 13 03:50:45 UTC 2019


I recommend we reframe the directory structure. Since I'm sure I will 
get no support for merging the existing / and /usr trees to put all base 
items in / (/bin, /etc, /lib, /libexec, /share, /sbin), I'm suggesting 
the following:

/usr/local -> /pkg
Explicitly define /opt for third-party software that is not in 
packages/ports.
Explicitly define /local for locally developed software that has not 
been packaged as a port/package.

This leaves us with five areas:
/{bin,etc,lib,libexec,share,sbin} - base software
/usr/{bin,etc,lib,libexec,share,sbin} - base software
/pkg/{bin,etc,lib,libexec,share,sbin} - ports/packages
/opt/{bin,etc,lib,libexec,share,sbin} - third-party software that is not 
in ports/packages
/local {bin,etc,lib,libexec,share,sbin} - locally developed software 
that has not yet been formalized into a port/package (with symlink from 
/usr/local?)

Thanks,
Jim Trigg



More information about the freebsd-questions mailing list