From owner-freebsd-questions@freebsd.org Fri Apr 17 07:15:52 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 B340E2AD9AD for ; Fri, 17 Apr 2020 07:15:52 +0000 (UTC) (envelope-from malaizhichun@tom.com) Received: from smtp.tom.com (smtprz15.163.net [106.3.154.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.163.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 493S6r0FTCz4jNk for ; Fri, 17 Apr 2020 07:15:47 +0000 (UTC) (envelope-from malaizhichun@tom.com) Received: from my-app02.tom.com (my-app02.tom.com [127.0.0.1]) by freemail02.tom.com (Postfix) with ESMTP id 0C9A3B00DBE for ; Fri, 17 Apr 2020 15:15:33 +0800 (CST) Received: from my-app02.tom.com (HELO smtp.tom.com) ([127.0.0.1]) by my-app02 (TOM SMTP Server) with SMTP ID 222507103 for ; Fri, 17 Apr 2020 15:15:33 +0800 (CST) Received: from antispam2.tom.com (unknown [172.25.16.56]) by freemail02.tom.com (Postfix) with ESMTP id EEBAFB00DBA for ; Fri, 17 Apr 2020 15:15:28 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tom.com; s=201807; t=1587107732; bh=sK+Gi484KIJTc5MnWrZx9g/bBay8MLgXaQnNSId1Y8c=; h=Subject:From:Reply-To:To:Date:From; b=gJ4eIlPBCNt3ZOMLb9OYswYyi/rKfptlT5ZNypdadgw4bJDV2llzdI5TBKPSK2f/X rtc66FOmEHx3UdGb/qTlyJW1XHwc4J01WHXn8BOWmaVQeIv/AYwgEazN/kmKp8ifgO h1xHKDRqTSTw1R3RGZR4Y7xaXts/Xysrev4X9wHQ= Received: from antispam2.tom.com (antispam2.tom.com [127.0.0.1]) by antispam2.tom.com (Postfix) with ESMTP id 1934E81341 for ; Fri, 17 Apr 2020 15:15:28 +0800 (CST) X-Virus-Scanned: Debian amavisd-new at antispam2.tom.com Received: from antispam2.tom.com ([127.0.0.1]) by antispam2.tom.com (antispam2.tom.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6NACpO6NvFn0 for ; Fri, 17 Apr 2020 15:15:27 +0800 (CST) Received: from localhost (unknown [18.208.141.28]) by antispam2.tom.com (Postfix) with ESMTPA id 8722B813C6 for ; Fri, 17 Apr 2020 15:15:25 +0800 (CST) Message-ID: <3f1496d1f598c84b3871b630f161256e152aca75.camel@tom.com> Subject: freebsd should be rewritten based on microkernel architecture From: kindu smith Reply-To: malaizhichun@tom.com To: freebsd-questions@FreeBSD.org Date: Fri, 17 Apr 2020 15:15:20 +0800 Organization: malaizhichun Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 493S6r0FTCz4jNk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tom.com header.s=201807 header.b=gJ4eIlPB; dmarc=pass (policy=none) header.from=tom.com; spf=pass (mx1.freebsd.org: domain of malaizhichun@tom.com designates 106.3.154.248 as permitted sender) smtp.mailfrom=malaizhichun@tom.com X-Spamd-Result: default: False [-2.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[malaizhichun@tom.com]; R_SPF_ALLOW(-0.20)[+ip4:106.3.154.0/24]; FREEMAIL_FROM(0.00)[tom.com]; TO_DN_NONE(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; HAS_ORG_HEADER(0.00)[]; DKIM_TRACE(0.00)[tom.com:+]; DMARC_POLICY_ALLOW(-0.50)[tom.com,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[tom.com]; ASN(0.00)[asn:23724, ipnet:106.3.152.0/21, country:CN]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[tom.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979,0]; R_DKIM_ALLOW(-0.20)[tom.com:s=201807]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FREEMAIL_REPLYTO(0.00)[tom.com]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (4.69), ipnet: 106.3.152.0/21(2.32), asn: 23724(0.43), country: CN(0.01)]; RCVD_IN_DNSWL_NONE(0.00)[248.154.3.106.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_SEVEN(0.00)[7] 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, 17 Apr 2020 07:15:52 -0000 Hello, I am a user who likes UNIX-like systems. I have some experience using GNU / Linux and some experience using freebsd. I like the architecture of UNIX-like systems, but I am not proficient, so I just want to mention some improvements. The idea of freebsd experience, what is unscientific, welcome to advise. First of all, freebsd's architecture is very good, no need to invent the wheel, but freebsd's installation interface and startup interface are too old. It is time to make some changes. I think the freebsd with microkernel will be more stable. The / boot / kernel directory is very suitable for writing a small kernel, such as named core, and then design some modules around and package it in this directory. Then, under / boot, create some new directories such as EFI, API, ABI, model, etc. to do EFI boot and application program interface, and user space modules. I think this will be a perfect design. As for the design pattern of the microkernel, you can refer to haiku (a clone of beos). In addition, you need to redesign the installation interface and a complete desktop environment, because this is very important for novices. I don't think Gnome / kde / xfce or the like is used anymore. It is designed for Linux, and the systemd it uses is not supported by Freebsd. Freebsd should design a gorgeous interface comparable to macos, in addition to a set of init programs comparable to systemd. Therefore, both the bootloader and init programs need to be redesigned. For example, when Linux starts, it displays ok and colored driver loading reminders. Freebsd can learn from it. I think that the Linux startup program is not perfect. It is still in the startup mode similar to the console. The more modern startup program should be a perfect combination of graphical and startup information. The driver is a flaw of freebsd. Due to the limited number of developers, a large number of other systems are required, such as copying from linux. so copy it from linux. The GPL agreement does not affect the use of freebsd code. Only in this way can freebsd and linux form a differentiated competition, can freebsd survive the huge wave of linux.