From owner-freebsd-hackers@freebsd.org Mon Jul 30 00:51:52 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 43F041068716 for ; Mon, 30 Jul 2018 00:51:52 +0000 (UTC) (envelope-from dcrosstech@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D12278188A for ; Mon, 30 Jul 2018 00:51:51 +0000 (UTC) (envelope-from dcrosstech@gmail.com) Received: by mail-qk0-x22b.google.com with SMTP id z74-v6so6768642qkb.10 for ; Sun, 29 Jul 2018 17:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xKROJZO6zgcx4kJhgLaziiCHc2tN+Fm7esIcFM0rLsc=; b=tuZ9hXg8ISmD7DKdBzZjFiFMBrtXLDtWaNpirGEEEsQqdQ+159abO4yceCkEZdzjz+ Lbtob4Uy+1gVQaLFgYNwx/XR3IiqLEYE886+/CDkvRgLPR1/ztuBH0HiKTI+GruOA0fu Cyzx9RZMmLbcI0ZmdAb3RxDLmKdnlqBNPyiAuoJ2YJhxw5H0scgWw3SzxGfo2dolouia JYLr9R+Jp09ejgobhV6YWGnbnIOzgkWimdYupvpY00NRf7Y294cSszCQSjY/fwWmV4nU 8sdGIk5iTSzPJ87fbZPb/170HibhLNXVBHvjkQeYlUy4vvZ0GowS+pQfsVPiQsyIongy QUyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xKROJZO6zgcx4kJhgLaziiCHc2tN+Fm7esIcFM0rLsc=; b=gixrWFHNHFmXiLi5hq+T4EsZmzRKVVuutjwUqfIwfPoXIMWcOr4Ys9JuBrGnWRKPzW XGiXXt3tG4hW2edPG/uK1tsVEMeNGOwDuMZ2wCgolajY9ZmV0ijPjYmsIsSxkdPLD5LC 64vB7E9sTy274af+s0hgwfeybgbXSTO5Z6Zgu3nSK6am+VPDED5Ib2zZIRLgqfReUOez c9mbJjxzcong9bwI5rpeWEjrqNjt2b5As2QLZ3jK37lpF0UQBlAxBmDr1V+WB5Zz355/ cJsibSBLM2G+58jiThAU2ZiomMyuqk2NbeOmmDq4SG2twZin+6OkGpNHeK8QsVx5M7Pm aX4w== X-Gm-Message-State: AOUpUlHW4+eGdVsVmlJ3PQmPa+9B0pBk+oXUHU7KY10ktMerfcSY26dS 6XTInaKyFWezVIwY0X1nGDk= X-Google-Smtp-Source: AAOMgpdX5V5OPvEojJS+IH45Z87/Pw2jX9G/PeaCL/Ug/H6s2s36ABNejp1/rkOFmshApIisS5TwFg== X-Received: by 2002:a37:1fdf:: with SMTP id n92-v6mr14642527qkh.333.1532911911310; Sun, 29 Jul 2018 17:51:51 -0700 (PDT) Received: from [10.1.6.133] (cpe-66-66-97-162.rochester.res.rr.com. [66.66.97.162]) by smtp.gmail.com with ESMTPSA id x41-v6sm8339421qtj.71.2018.07.29.17.51.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jul 2018 17:51:50 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: Request for comments, new geom part type alias: freebsd-geom From: David Cross X-Mailer: iPhone Mail (15G77) In-Reply-To: Date: Sun, 29 Jul 2018 20:51:49 -0400 Cc: FreeBSD Hackers Message-Id: <42B97A0A-8CFD-43D6-A5F5-B2645A5D293A@gmail.com> References: To: Warner Losh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 00:51:52 -0000 Because I apparently I suck at mailing lists. Sorry for the dupe messages co= ming :( I am not picky about the name; I picked -geom since it seemed to be part of t= he geom system (yes.. I know 'everything' is part of the geom system in that= sense); but geom-labeled? Not sure what else to call it. 'misc' seems over= ly broad, there's a very specific but common (I think) use case where people= have gmirrors, gstripes, geli, gconcat, etc...) they are using > On Jul 29, 2018, at 17:01, Warner Losh wrote: >=20 > Why '-geom'? Why not 'freebsd-misc'? >=20 > And what, exactly, do you mean by 'create a GPT partition'? >=20 > Warner >=20 >> On Sun, Jul 29, 2018 at 2:49 PM, David Cross wrote= : >> I'd like to propose that we create a GPT partition for geom labeled >> partitions (gmirror, gstripe, geli, etc.. anything that can be 'tasted' a= nd >> automatically determined.) called 'freebsd-geom'. >>=20 >> There are numerous cases where you shouldn't have a raw geom on a disk (f= or >> example, imagine a raid 10 of a filesystem with VMs on it..on a raw disk >> its possible that the lead block happens to line up with a VM disk image o= r >> anything else a BIOS may determine is bootable). >>=20 >> So the question becomes which part id to use; IF its a mirror of a swap o= f >> UFS it seems perfectly reasonable to use freebsd-swap or freebsd-ufs (if a= >> bit dangerous). If its a mirror or a geli then you can again be in the >> situation where the boot blocks (or something else), in certain >> circumstances mistakes these for raw filesystems with similarly calamitou= s >> results. >>=20 >> Given these, it seems a 'freebsd-geom' (or similar) seems entirely >> appropriate; we can mark these for what they really are, and eliminate >> these cases where the system misinterprets intentions based on ambiguous >> data. >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >=20