From owner-freebsd-questions@freebsd.org Fri Sep 13 08:01:19 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 11266EA418 for ; Fri, 13 Sep 2019 08:01:19 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46V7PV1vVXz4K8c for ; Fri, 13 Sep 2019 08:01:17 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1568361678; x=1570953678; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=BQaOdMXtUcBKFMQFdepY2NnoE4lMCDeP/3fcdsvQTQc=; b=nYTDHBT5rKNTD7jfouVd1Y/cljwoC8Bw+p757z6qi46xX6qJZRAm6wb/ZaUXUp9gjdBlduQLVMtfbn1woQy8YIkF2Ka9QzzQent7gwoCkSyD5OQE98IIjA031AelxtvT+xhwWyJ4Hk+Wr2pX8i4RxgcKTBsVLbgVs2fl+CmuUlU= X-Thread-Info: NDI1MC4xMi4xYzMwMDAwMDAzOGM3NTIuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r4.h.in.socketlabs.com (s1-b40f.socketlabs.email-od.com [142.0.180.15]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 13 Sep 2019 04:01:08 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r4.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 13 Sep 2019 04:01:07 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.91 (FreeBSD)) (envelope-from ) id 1i8gVt-000NyA-Cf; Fri, 13 Sep 2019 09:01:05 +0100 Date: Fri, 13 Sep 2019 09:01:05 +0100 From: Steve O'Hara-Smith To: Jim Trigg Cc: freebsd-questions@freebsd.org Subject: Re: A modest hier proposal Message-Id: <20190913090105.07aaa44d3d8fd73329c999a6@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46V7PV1vVXz4K8c X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=nYTDHBT5; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-1.74 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.965,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[]; IP_SCORE(0.22)[ip: (-0.46), ipnet: 142.0.176.0/22(0.93), asn: 7381(0.70), country: US(-0.05)]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Sep 2019 08:01:19 -0000 On Thu, 12 Sep 2019 23:50:40 -0400 Jim Trigg wrote: > 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), There's a lot to be said for doing that, but I too doubt it will ever happen. Then again similarly drastic things have happened. > I'm suggesting the following: > > /usr/local -> /pkg That would make sense as part of eliminating /usr, otherwise I see no real point. > Explicitly define /opt for third-party software that is not in > packages/ports. There is no way to enforce or even encourage use of it, sure an empty hierarchy could be shipped but it wouldn't get used reliably. > Explicitly define /local for locally developed software that has not > been packaged as a port/package. Same problem. As sysadmin you are of course perfectly free to attempt to impose /local and /opt - I've seen similar things attempted with varying success. The most successful approach involved making them group maintained rather than root maintained. -- Steve O'Hara-Smith