From owner-freebsd-questions@freebsd.org Wed May 6 13:12:31 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 ECCB82C48F8 for ; Wed, 6 May 2020 13:12:31 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 49HH7f4tj0z4d0x for ; Wed, 6 May 2020 13:12:30 +0000 (UTC) (envelope-from mail@ozzmosis.com) X-Originating-IP: 167.179.139.56 Received: from blizzard.ozzmosis.com (167-179-139-56.a7b38b.mel.nbn.aussiebb.net [167.179.139.56]) (Authenticated sender: ozzmosis@ozzmosis.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 4C92BE0039 for ; Wed, 6 May 2020 13:11:47 +0000 (UTC) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id C483451021; Wed, 6 May 2020 23:11:41 +1000 (AEST) Date: Wed, 6 May 2020 23:11:41 +1000 From: andrew clarke To: freebsd-questions@freebsd.org Subject: Re: redesignde the unix-like system directory Message-ID: <20200506131141.qsu352rfx6n7yjkh@ozzmosis.com> References: <83788746a7d8a802d8af4b582e00827166febd1a.camel@tom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83788746a7d8a802d8af4b582e00827166febd1a.camel@tom.com> User-Agent: NeoMutt/20200501 X-Rspamd-Queue-Id: 49HH7f4tj0z4d0x X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mail@ozzmosis.com designates 217.70.183.196 as permitted sender) smtp.mailfrom=mail@ozzmosis.com X-Spamd-Result: default: False [-4.01 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[196.183.70.217.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28]; 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]; DMARC_NA(0.00)[ozzmosis.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.61)[ip: (-5.19), ipnet: 217.70.176.0/20(-1.59), asn: 29169(-1.28), country: FR(-0.00)]; RCVD_IN_DNSWL_LOW(-0.10)[196.183.70.217.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2020 13:12:32 -0000 On 2020-05-06 20:16:43, kindu smith (malaizhichun@tom.com) wrote: > Borrowing android and freebsd just to keep it simple: > > /app, application directory, various system-level applications > /boot, boot directory, set up ABI, API, EFI, kernel, modules and other > directories to store complete microkernel boot source code, interface, > EFI partition information, modules. > /cloud, various cloud applications > /data, database, such as key, web page data > /help, operating system manual > /net, network information and server information, etc. > /system , store the file system hierarchy (FHS) directory > /user, user directory, set user account and information The developers of Apple OS X and Haiku/BeOS (to use as examples) have already done this to a certain extent. Both OSes began life with their own directory structure, though, and they stuck with it. The structure wasn't changed years later. An existing established OS like FreeBSD is unlikely to move all its files around just to make things slightly more convenient for new sysadmins. Among other things, reorganising the root directory structure would make existing documentation almost impossible to follow. If you really want to go down that path (pun intended) I suspect you'll need to create your own fork of FreeBSD. The other option is to create a whole bunch of symlinks on an existing system. However I feel that both involve a lot more unnecessary work instead of simply learning where everything is on that system.