From owner-freebsd-hackers@freebsd.org Sun Jul 29 21:01:08 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 A3249106363C for ; Sun, 29 Jul 2018 21:01:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 415F479DB9 for ; Sun, 29 Jul 2018 21:01:08 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22f.google.com with SMTP id y10-v6so8237595ioa.10 for ; Sun, 29 Jul 2018 14:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=DCbOqCNI5RKHCOtXtEumdKyHUNZNTpjsqJH7shXiEcE=; b=srYxnvoxMVX7kxHePVH55kN6mfUX8teZgO+iAsOYgflvRc83qSUHJZfUT2XlhUIhmO 6YGdTFGyn0ATa+Msuty6NvnLIvDUOB8j2F+YUIWZ9o8X8GWwS8Xmyi4Nvs8bi4allErv rQ516jhYdkjVWv3njxryXWGTSAVJ4nA+MmzFELpS1e7u3etmLficG+vSmfyYBS81OvYp jzwEkRxfEKSwlLNPT6dLJQbalm0QsFoq9VyVSm1qIA26YNfRUzk32mljvubbzSm8XHBN d0C4kXorKzkYC0le3UY3jXjCTDDsPkbGQfALLU9guFM2EwAPPgvSMyiSoPMniZ4bi8cW Z35g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=DCbOqCNI5RKHCOtXtEumdKyHUNZNTpjsqJH7shXiEcE=; b=rEOE9yBFt7RMukOKM1SINeuqbNAh/I5FoFP7H5gVR5NZzhkbFp1SOjSMoM+F3fuPxM lHijnir6Y3nrsbDrxhgTp2U/B75PPXTvdibRG7gBEe4ICz5uslew7zv0mLfnTjRc4XyG v3nwL0/8fhA2ZrNZjVYV8TMWiJ8Ystbor9EAOn/tzhUcWh6iW39yynpspqS3pMDrLAxY 6RsLykGKk9zXSYLFR5vAHcQmR9Qqn9Ayioq3XEp8HS+7EdJTTYrOuZcPKw/YrbmGEkSH DnJ0+jO6a3bdbwtJSheaSNoeeUQik4z7Gr2Z+XziqBiNcFflbIMozJgLPxLwaucIoGbQ NDyg== X-Gm-Message-State: AOUpUlGgsT4x7eU7rjIHn6BiI0UlTk/QM+3+ChbMlaxR/GxABk3cz1ww calLuItcDsMLglyPhv8OP0KGmBUV+spr3RgEp+zkMNgefKk= X-Google-Smtp-Source: AAOMgpe/jp8rOlMcX96DxnMS2tO9vPYyHGUHatwMG5dQdz/PsJKKtZrv5eKwajlfH4vhe4cTgc3ZV500brWIHBWGFzM= X-Received: by 2002:a6b:3902:: with SMTP id g2-v6mr11591183ioa.168.1532898067363; Sun, 29 Jul 2018 14:01:07 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:4485:0:0:0:0:0 with HTTP; Sun, 29 Jul 2018 14:01:06 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: From: Warner Losh Date: Sun, 29 Jul 2018 15:01:06 -0600 X-Google-Sender-Auth: eXhQtQBZMtsuXATDAQ9YR4ol9qs Message-ID: Subject: Re: Request for comments, new geom part type alias: freebsd-geom To: David Cross Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" 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: Sun, 29 Jul 2018 21:01:08 -0000 Why '-geom'? Why not 'freebsd-misc'? And what, exactly, do you mean by 'create a GPT partition'? Warner 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' and > automatically determined.) called 'freebsd-geom'. > > There are numerous cases where you shouldn't have a raw geom on a disk (for > 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 or > anything else a BIOS may determine is bootable). > > So the question becomes which part id to use; IF its a mirror of a swap of > 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 calamitous > results. > > 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" >