From owner-freebsd-hackers@freebsd.org Mon Jul 30 05:29:16 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23544104ACCF for ; Mon, 30 Jul 2018 05:29:16 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (unknown [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 940FF88BB2 for ; Mon, 30 Jul 2018 05:29:15 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w6U5T5rD099335 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jul 2018 07:29:06 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: freebsd-rwg@pdx.rh.CN85.dnsmgr.net Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w6U5Su8d076715 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 30 Jul 2018 12:28:56 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Request for comments, new geom part type alias: freebsd-geom To: David Cross , "Rodney W. Grimes" References: <201807292102.w6TL2Cq4062739@pdx.rh.CN85.dnsmgr.net> <144DA23D-26CF-4293-AE97-54CC8D6B52E3@gmail.com> Cc: FreeBSD Hackers From: Eugene Grosbein Message-ID: <5B5EA213.9090006@grosbein.net> Date: Mon, 30 Jul 2018 12:28:51 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <144DA23D-26CF-4293-AE97-54CC8D6B52E3@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 05:29:16 -0000 30.07.2018 7:52, David Cross wrote: > Just a named GPT UUID type, like freebsd-swap, freebsd-ufs > > As for ambiguous data: consider you have a RAID 10 of a UFS filesystem. > If you put that into freebsd-ufs freebsd-boot will see that and potentially attempt to boot it. One should just be allowed to mark such a partition "unbootable" so no loader even tries to boot it. And use any kind of label you like including freebsd-ufs. We should not "workaround" deficiencies of our loaders (if any) but fix it instead of invention of new partition types just for that strange reason. > If you have a raw raid gstripe, what shows up to the BIOS as to what this drives is depends > entirely on the _contents_ of the drive at a specific position, information that could be controlled by a user. Why is it important how BIOS shows gstripe'd partitions if they are marked not bootable? There were times when BIOSes unconditionally booted from floppy disk drive if it had readable floppy disk at boot time, so boot area of such floppy disks had special code saying "Non-system disk, replace and strike a key" if a floppy was not supposed to be bootable. Boot area of our non-bootable partitions might have something similar.