From owner-freebsd-questions@freebsd.org Wed May 13 05:33:47 2020 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 693F42E8AD6 for ; Wed, 13 May 2020 05:33:47 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2021.outbound.protection.outlook.com [40.92.91.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49MNd61FPwz4WyC for ; Wed, 13 May 2020 05:33:45 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A2ZmCGfzo55nhmI+ANuIEJlYC9xekWmYUUjC2jA6ypwEcut+1CWhYe4YB/nx8+JWpB+1ftPFFz2acCuXHqwboN9ni+aq2z0vaov4yJ2ToX1dD6NjR+ndHu38OFSMvJ4sqFGR7rg56TIRs8nWfubjn9J8srh0bqNivZVE3qvFKUk2BKvgGJeRXH0UuHHAKhvRDLTkMty1PGfkEd0ERBFaIJh+Bnan/guptvQcqf9MPk0WVpb7G6eMpigpnNAMJq0GkFWDR/4OWoljOmbVQUl+g1Bwc+dVq0kHkMwu0A67vHPmWqd04U9BwiDbn8v/V6588KWuNdetg9oC63WA/+58EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yaHfo7uaHgJJHTOMqshYU/FWWi9F8rM3ZkgO6Amhlfw=; b=IcQFJws8xCWKOgt0lX/vnSydt/rN+5ZM17CkIdKoL5OrNOKq/Nuy76YOxt9odjNtTs2YAvVyfTD9i4/CMBgmzKr+Od1R/Cery80/nW9/3hNrD24POAjTDAOTt/AkwpzqYDS1vMuzSkO/x8Lmdbbj3yyVm27swv8oWAiCMl9GSnf4dqM1/gWOtvcD0869J3kkX4Gm3LfVVghX7ys9f5MPWmpSQxoAjR/S3ZtLM35rGpJRUOPxrEYet2t7Q9/JQtcytE/xiS3N+XDiX3QtIJgeDTEDGzzSPC53OMX7+avAOwo/7aeTunsy5jVTi8iX+VdvMcEIcNh7uF1yAqWtnPxdLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hotmail.com; dmarc=pass action=none header.from=hotmail.com; dkim=pass header.d=hotmail.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yaHfo7uaHgJJHTOMqshYU/FWWi9F8rM3ZkgO6Amhlfw=; b=AeYvMpMfteqlh4wNzo99hI8oRlifDN0/pWLcl9iC6p7QgW37Lyl67OZVlpP25PuSzjk2Y8FLSNnA2gqErUNNS4TjGf/xocg/V4H2QTM7Zt+T6fXquftHuWWf+2zDTVyZk2dudOSqshVjsjFNPD/4U1cvjL6H4iFinK3lTUugx4YgMbFKknVfwxlbUIHHHvZJkSd4hhZx8S1qPqGeLr+exAhMqBbb0y1H2jdJbfLsRbS4wdmCYq0V4Bi4V62HT/O9vsoE9aPnFCfLqItqWqe1F9iMX+DqHJ8whqyz0ZMcp6bsRkRZ7eP8no5VvDh/bdbjuG2FU8KCeVrS7+cSEuxLWQ== Received: from DB8EUR05FT063.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::50) by DB8EUR05HT013.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::435) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Wed, 13 May 2020 05:33:43 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:fc0f::4f) by DB8EUR05FT063.mail.protection.outlook.com (2a01:111:e400:fc0f::195) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Wed, 13 May 2020 05:33:43 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:EFB316E1CF6B7BC48DE47DDB3BB93A97C56A366E4DC70AB07DDFE8766EC37C34; UpperCasedChecksum:F6ECA5CFE46648539AA261D4D5651E5EF4E718F89B54050C2C3B538F20AED7D7; SizeAsReceived:9005; Count:49 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::3cc9:9d58:c027:5919]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::3cc9:9d58:c027:5919%5]) with mapi id 15.20.2979.033; Wed, 13 May 2020 05:33:43 +0000 Subject: Re: On a serious note, what I'd change about FreeBSD hier(7) To: Bob Proulx , freebsd-questions@freebsd.org References: <83788746a7d8a802d8af4b582e00827166febd1a.camel@tom.com> <20200506172115.cb3b572b.freebsd@edvax.de> <20200506214540.247500820cf8701968ac01c9@sohara.org> <20200512190812259650810@bob.proulx.com> From: Manish Jain Message-ID: Date: Wed, 13 May 2020 11:03:26 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 In-Reply-To: <20200512190812259650810@bob.proulx.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BMXPR01CA0057.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::21) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.5] (45.127.45.76) by BMXPR01CA0057.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.26 via Frontend Transport; Wed, 13 May 2020 05:33:42 +0000 X-Microsoft-Original-Message-ID: X-TMN: [Vc1CxlwKOpHY0v+DUk8yD1Sgwcc3UwWL] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: a957bd38-c27b-44e5-8670-08d7f6ff32ee X-MS-TrafficTypeDiagnostic: DB8EUR05HT013: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uooGk+hevECWvRtzDDkHHhdsEZiPpLK/GP7I6DpwOGgoy2/JlU4H9G1yuyz1K+EQ0ti+lTW8L8E/+NIdPRNOY1oO8l7qZR4Uq46ANvkDkrybBhAHWx5ljpHBh7j73eLrX/IeF0wD3mC/3PvJIs8gLEhSqT9tCCWw0/ctjiJw5BdAdD+xLsis2GtW/WdksQ0vc55Zu0IbRzTBk49mPUWsrg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR06MB6442.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: J0v1L2zYQw3HqBlR0yq2bK7Gtyb3yYtRUBxERwBGI2j7wgkiNa0ZyH/5HHA7JmMs6fxLre81jU1KpYH/kEUy984yGtprquW67dcnbrUkQzy+KwButlqEBjh4pX/IFxeUvxmWhbKnlEik+0L+XYjMEA== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: a957bd38-c27b-44e5-8670-08d7f6ff32ee X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2020 05:33:43.1643 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT013 X-Rspamd-Queue-Id: 49MNd61FPwz4WyC X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=AeYvMpMf; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.91.21 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [7.82 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; FREEMAIL_FROM(0.00)[hotmail.com]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[76.45.127.45.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ARC_ALLOW(0.00)[i=1]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[hotmail.com.dwl.dnswl.org : 127.0.5.0]; RECEIVED_SPAMHAUS_XBL(5.00)[76.45.127.45.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:8075, ipnet:40.64.0.0/10, country:US]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ipnet: 40.64.0.0/10(-3.73), asn: 8075(-3.25), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-0.46)[-0.455,0]; IP_SCORE_FREEMAIL(0.00)[]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.78)[0.776,0]; RCVD_IN_DNSWL_NONE(0.00)[21.91.92.40.list.dnswl.org : 127.0.3.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[21.91.92.40.rep.mailspike.net : 127.0.0.17]; GREYLIST(0.00)[pass,meta] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 05:33:47 -0000 On 2020-05-13 06:50, Bob Proulx wrote: > Steve O'Hara-Smith wrote: >> Ottavio Caruso wrote: >>> Polytropon wrote: >>>> FreeBSD's general organisation keeps all non-OS stuff stored >>>> in /usr/local; the directories owned by the OS have a specific >>>> purpose which is reflected by their name and location >>> >>> I'd pretty much want to have all non-base stuff into somewhere else >>> than /usr/local. >> >> Why ? /usr/local is explicitly for non-base stuff so what would go >> in there ? > > What would go in /usr/local would be locally compiled applications > that are outside of the base system, outside of the ports system, and > are purely locally compiled from source programs. And anything else > the local admin wanted to put there. > >>> I like NetBSD installing ports in /usr/pkg (or >>> whenever you want set your $PREFIX to). I'd rather have /usr/local for >>> my own personal software and avoid it messing up with official ports. >> >> Why fight the system when you could just have /usr/personal >> or /site or /opt or something for your own stuff without changing existing >> conventions. > > FreeBSD is the odd one out here in using /usr/local for system uses. > In other systems, and I grew up on HP-UX, SunOS, old BSD, and so > forth, have always reserved /usr/local for the local admin to > populate. > > Using most from-source software the default install location is most > typically /usr/local and therefore out of the box unless you fight > with the upstream source locations (fighting with upstream really > means overriding the default, I only said fighting because you did) > then "make install" will typically install to /usr/local, potentially > overwriting components from FreeBSD. > > Therefore on FreeBSD I use /local for those things. Which is > defensible as perhaps being a better location. However to avoid > potentially overwriting something in /usr/local I must reconfigure > upstream source to avoid it each and every time. > > Bob Perhaps you might like to remember another location : /opt That is entirely unused in the default config in FreeBSD, and I think /opt/bin makes a good location for the user's own software. Regards, Manish Jain