From owner-freebsd-hackers@freebsd.org Mon Jul 30 07:11:31 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 1BC71104D0C4 for ; Mon, 30 Jul 2018 07:11:31 +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 96E228B86D for ; Mon, 30 Jul 2018 07:11:30 +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 w6U7BMdb000259 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jul 2018 09:11:23 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: imp@bsdimp.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w6U7BJwh077465 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 30 Jul 2018 14:11:19 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: Request for comments, new geom part type alias: freebsd-geom To: Warner Losh References: <201807292102.w6TL2Cq4062739@pdx.rh.CN85.dnsmgr.net> <144DA23D-26CF-4293-AE97-54CC8D6B52E3@gmail.com> <5B5EA213.9090006@grosbein.net> Cc: David Cross , "Rodney W. Grimes" , FreeBSD Hackers From: Eugene Grosbein Message-ID: <5B5EBA12.3020609@grosbein.net> Date: Mon, 30 Jul 2018 14:11:14 +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: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 07:11:31 -0000 30.07.2018 12:42, Warner Losh: >> 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. > > How does one do that? > > 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. >> > > Normally this is a non issue. > >> 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. >> > > No. They don't. There is no standard way to mark something unbootable... For UEFI case there is the BootOrder list useful for this particular task.