From owner-freebsd-questions@freebsd.org Sun Jan 19 07:49:37 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 06D6F237751 for ; Sun, 19 Jan 2020 07:49:37 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 480n4v5xnpz3yFS for ; Sun, 19 Jan 2020 07:49:35 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 2BDED138A45 for ; Sun, 19 Jan 2020 07:49:35 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id nXFU2pJdRS04 for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 73579138A46 for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 73579138A46 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1579420174; bh=Wq3AYSuY8OfNEh6gjxOofVDp1PDlcNo8TqkQs2GYr8Y=; h=From:To:Date:Message-ID:MIME-Version; b=D6PYyqM+58FWkXiBLTVk03ujooUmL0NqbjZRQziOSKtLjVi0Ux829X3E/E5d3ybl2 1gNkf6SvyFm+OM8iTcmVYEol/sHaxEGx5xqj4DAmAnlmKQGEdIPbq9W+0HtnJaMY1r Emrsayr/qpdDlpPywwvQEGaF0GV4sZHht2k8J9JlIetpEEzGxHbEvWD41lZcZPziqR t0912hdQIQTUWKMvl2OEdmqD8FLK7siYrUcyGb/dqzIeAOtFKN761LXk1uPs3LpVRj LvF48hbybLeq95RnripHOwA4ie485VDJkxfAnoITwL6wtSTFZqjC0ebXGR69yAq4ly 13tuEfPGWlYxg== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VF2LMM_zOqqI for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) Received: from t800.localnet (c-73-83-210-79.hsd1.wa.comcast.net [73.83.210.79]) by mail.antonovs.family (Postfix) with ESMTPSA id 2C886138A45 for ; Sun, 19 Jan 2020 07:49:34 +0000 (UTC) From: Ihor Antonov To: freebsd-questions@freebsd.org Subject: Re: sysctl and /sysfs Date: Sat, 18 Jan 2020 23:49:31 -0800 Message-ID: <3038969.aeNJFYEL58@t800> In-Reply-To: <20200119064151.7f781748.freebsd@edvax.de> References: <4538784.31r3eYUQgx@t800> <20200119064151.7f781748.freebsd@edvax.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 480n4v5xnpz3yFS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=D6PYyqM+; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-4.14 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=D65AA412-CB7F-11E9-A561-802C9D403B77]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.14)[ip: (-5.65), ipnet: 100.24.0.0/13(-1.98), asn: 14618(-3.04), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[79.210.83.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] 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: Sun, 19 Jan 2020 07:49:37 -0000 On Saturday, January 18, 2020 9:41:51 PM PST Polytropon wrote: > In context of Linux... > > https://www.youtube.com/watch?v=9-IWMbJXoLM#t=8m20s > > Sorry, couldn't resist. ;-) Thanks, I really enjoyed this talk. I agree that "everything is a file" is not applicable everywhere. > The core "problem" (which actually isn't a problem at all) > is that exposing _everything_ as a file or a hierarchical > filesystem doesn't seem to work for each and every case. > That's why different approaches have been taken that worked > out in a better way. With sysctl, direct access to kernel > system information has been unified. There is still some > kind of hierarchy preserved. > > See "man 3 sysctl" and "man 1 sysctl" for details. > > Sidenote: > > Watching "What UNIX Cost Us" by Benno Rice at "linux.conf.au" > (LCA) 2020 does actually help understanding _why_ the use of > the "everything is a file" metaphor doesn't always work. After watching this talk I also watched another talk of his: Tragedy of Systemd: https://www.youtube.com/watch?v=o_AIw9bGogo And I must say, Benno has a point. FreeBSD definitely lacks something like systemd (and I want to stress "like", not "exactly" ) Do you know of any ongoing efforts to bring a unified system management functionality to FreeBSD? -- Ihor Antonov https://useplaintext.email