Message ID | 20210728142146.8970-1-roland.gaudig-oss@weidmueller.com |
---|---|
Headers | show
Return-Path: <swupdate+bncBAABBB6QQWEAMGQETXRYHJI@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::438; helo=mail-wr1-x438.google.com; envelope-from=swupdate+bncbaabbb6qqweamgqetxryhji@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=KvztN4bd; dkim-atps=neutral Received: from mail-wr1-x438.google.com (mail-wr1-x438.google.com [IPv6:2a00:1450:4864:20::438]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GZbTD5nN3z9sRR for <incoming@patchwork.ozlabs.org>; Thu, 29 Jul 2021 00:22:07 +1000 (AEST) Received: by mail-wr1-x438.google.com with SMTP id r17-20020adfda510000b02901526f76d738sf1021491wrl.0 for <incoming@patchwork.ozlabs.org>; Wed, 28 Jul 2021 07:22:07 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1627482119; cv=pass; d=google.com; s=arc-20160816; b=iPG1fJ9wrasXVGI3qByapGFLb8V+AsGkI0/ro0JCE7B9Bn73XeTHolH7xA+Up5PvWJ K8Q98NqGZDovReSJHstQwb4nMvrMXjBN4p1U+NgUIOThOiXwyXy+gBz2BE6xd1KmamWL aTWfEmpbCgUB/N9+TpSTMisluyGXg9hqPmc8ZvtcMDSM3IPzz+ySW1Tq+ynmL6nimufJ L7EnM+KzVfmIAEfHPEzHoBmBTY/qcjdWZijnW53Gnj2w7YrVa+MkorZKDwKyAI/8bGPx KoRddLQWvtEBbkmdXMLsIAjBDxvzSPTqlK7JzdBItijDqzplH45sj2o+9Dv0fjKsJePY 5GqQ== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=lpuhzNiL+gB0jj9MOMmuwil5WsgKSS+9m9GslnjLjDU=; b=F9RSzj/jwf6dP07qKx1BxdLRUZ1mLWEjui3Eq4nx5AatrJ2EBuy2eSN3LKojZNQXBh raEI5koCiFtGzw/djfBNmvcWtyg4d0U+fAqM34aSyxQxYYrQ6P/2ZDqAWcya9TJKrREn aoLJC9nuPE+VEa+81NiOTm81kIBg+9Hc148F7BqzwzEKn4yC0zUak2iuyn6fZWzL8ZLH p1QK37rd8l/yyOsAMl7SKmNP+QC4P0lmpfgsyxQgakwR5iLu6oJJIBZe4b6kcHW5+fcS IV6ua54Ajpfava0n5HZDReWbzN3KM4s90zk3EPdYhnbWH6tL0jekMJjK24/t0fn8hPQn VLmQ== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@weidmueller.onmicrosoft.com header.s=selector1-weidmueller-onmicrosoft-com header.b=fGDnLOni; arc=pass (i=1 spf=pass spfdomain=weidmueller.com dkim=pass dkdomain=weidmueller.com dmarc=pass fromdomain=weidmueller.com); spf=pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.22.88 as permitted sender) smtp.mailfrom=roland.gaudig-oss@weidmueller.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=weidmueller.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=lpuhzNiL+gB0jj9MOMmuwil5WsgKSS+9m9GslnjLjDU=; b=KvztN4bdHYaZf0Olc9t5CIdRRmOK9xB14nTB6OiIfC/wkMmXC9nRSsu2HnCQW493Ze YWxnTtNoTnQ86gyXr229sVff4KUPZ17OYAnKT0D0dR1hcgSzTGFjjoBHizKI2pg57Q6s jcjZ1gh1UgnfAGOjPCtnhkUb2sgENppSkbfvfbgXZaSV0SZcH/qLGpyFruCrziqmL/3E BCwGcS6ES49UArQHM7onaWUwNDxtFJi0FIrMtrnE1anD9yIyQwzWZRS22wtwxKIykMNG gXr/Xp8NUGM8YzH4/QIrVCZDEeBQwc29hEdCKRE2ficlem9tl4ScC2ecu24nFK+3o4BR vFcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=lpuhzNiL+gB0jj9MOMmuwil5WsgKSS+9m9GslnjLjDU=; b=reWdqHMmuiJcK5N+xLWWsIvNBhjzG8x0xmBeJx1zNqHLjZ11ra5GhkkVwXanciyhUs VMBdavl3E7KadPHM/ROYAm4Xqx6ajjlSZqNHUjeJJlAP2yMkYeaDCPs4/0FIZJCy016i yKucYkR+VKgAGid/CXlduGxzdFSe21w0GjH0r0muEZyqFIVXR0DC3Vz7JV9V4FVMTZiM f6Xh13u7Od3DUU/JjvCdPTAJwqSyNAbDiM23rPnpbS3TCr3rhOiEhX25Kip6UsYm7CsT wWlxmgGIzwJK+L7SB0TEE9V+4zW3SdUzMzzNUFLdRmgF20O23eZUd/O1xj6EtO1jCcrC sJxw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531TEH/drc14Y6xVPEu2Akfe6kyNuagdMQdpWzMxctHmszd1jxH+ ZoPB59INo1wLYSeFocUoPUA= X-Google-Smtp-Source: ABdhPJxa0XKAqU79mohnbCjtOzfnJIOb2YgezQ0npWnCO4TPHlNiAGSMjgnqeXbpvC2jHB68hvO78Q== X-Received: by 2002:adf:ec11:: with SMTP id x17mr8736935wrn.114.1627482119305; Wed, 28 Jul 2021 07:21:59 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:adf:dd86:: with SMTP id x6ls270147wrl.1.gmail; Wed, 28 Jul 2021 07:21:58 -0700 (PDT) X-Received: by 2002:adf:d086:: with SMTP id y6mr31964245wrh.247.1627482118622; Wed, 28 Jul 2021 07:21:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1627482118; cv=pass; d=google.com; s=arc-20160816; b=m+mRnN6ScJQhqJeZ1Y/zwSkNklb0ZK1GnMgLnY7clLJNQ6GDdkPfoI+QrVLhDDQw88 krzgdZOwKeFGW2hpaDTp3Kn22PA7o5zgSjHZnLn6U62WnPhNyAfvsqfcc6rUHV3nsv1D nkj0OL8Ir0Cdj3raCsZLiPWnrQQEzc3ABtxzNDJd8Rrb40y9+sPWhsZAr+nAY0s5ngSd EXanPU8vAhK6HwtBbYhVO75zjbz37ihufMWVPgvhsu60YQC6yg/Uq0OUB2GiyxGwiR/n 4boV/gXrWfK7Wo/nrZtSQ/oGuHgrOc/baKToWM6ImAWjuZD/zZuPKnlPVK+2UFgHFM30 AC9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:message-id:date:subject:cc :to:from:dkim-signature; bh=MfpUkpBYifO8g9TYJLCjSCJdHfRCW8rut9Q3LaIMUFg=; b=CevImAHieVzlRvH7KsVcM71cS1/ZypU/f//jRwPT7JjxsN7lhUAGUeTb0IqqJQWt7J qzPaJWK1U7+8SKz4Tp9AgPCUTAPGhZmKcQgBhAHC6IXD2A0rIUCu3Yf9Q1rWohLWHSF8 H0x1tHBQjpTe+ao+V/u+Z2IZdjiFZvOYIHwb/kbVnpCxRTcaOHkjgs7/jzHgWA9lVPAm Dn6Ellcksalxo/V8eOS0DGRA/F8CVKT7MpqJAIUCe1kXiotNqXdnsW+RMcf8jryfUfDx SrpiuihjrdIxXzl4rLV6r/r82kX1xy+o4jTSmaJr2R+IIOrUDa4N0sD/930aOq1z6DGK 7ddg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@weidmueller.onmicrosoft.com header.s=selector1-weidmueller-onmicrosoft-com header.b=fGDnLOni; arc=pass (i=1 spf=pass spfdomain=weidmueller.com dkim=pass dkdomain=weidmueller.com dmarc=pass fromdomain=weidmueller.com); spf=pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.22.88 as permitted sender) smtp.mailfrom=roland.gaudig-oss@weidmueller.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=weidmueller.com Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2088.outbound.protection.outlook.com. [40.107.22.88]) by gmr-mx.google.com with ESMTPS id g145si381379wmg.1.2021.07.28.07.21.58 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jul 2021 07:21:58 -0700 (PDT) Received-SPF: pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.22.88 as permitted sender) client-ip=40.107.22.88; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CRkNYf1qeCRkgc8Bdqxtd8Sb4oGBG2y1a2f7pljvfOJgfXhN5J3t0cK4sDpJWzAV2kv/XMU8985Yki9/EngM7M4j5CF2786gD/pTGnX7T7mrO0x9AzVEm0nJ6uMwlUQc4Z1bmEzzlccNW5rTd4lVql6Vn1awC6CVytA0IPz7TXyHcU+H8+3KLa6ja5tvA6iwHJRlfhVzQX354G054lN7Z0/I5R8X5zgoi8GCUc/A9KPEIozdG8nwwjXiSUyLP3v+vYEkpMpedvO0NGf9wpg7a/uTg92yBfTq5o3m5NbC0V59PWblB/2HrP7lhxwxBpvkjUi8gEmi1bZKpKL/48GBUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MfpUkpBYifO8g9TYJLCjSCJdHfRCW8rut9Q3LaIMUFg=; b=ByWwVt9cwUwehT1QygeBvgF02126mQEsU3sS2A+jRtHI6pp9bexPA4ANrG4clQJwKebu7xDre/0QpXv1e3FnrrGMNRI8SqLiSn+5xcZRfyVaGgKglkG35FyrI6nVoir5W1wBYaL5mLuFpQTmpgmiq84rsObcUzhQ4LO/YoEq6/JiZRHQcSMoReeOCXGFkhjaJ+OE3nqr8o+F+tjN8PZdl3QnB2V61zB6RvInDg4uR7VEwji56CGc4+WGO2y9CsDcUDYhous1LgjH9N2OqeaRc38yJ6SHkVEq/TUkFJeHSiDJEjTNFMHzv92uh0GS6sKotPibnHc7QdjlKvcg4LbRGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=weidmueller.com; dmarc=pass action=none header.from=weidmueller.com; dkim=pass header.d=weidmueller.com; arc=none Received: from DB9PR08MB6729.eurprd08.prod.outlook.com (2603:10a6:10:2ac::15) by DB6PR0801MB1894.eurprd08.prod.outlook.com (2603:10a6:4:72::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.30; Wed, 28 Jul 2021 14:21:57 +0000 Received: from DB9PR08MB6729.eurprd08.prod.outlook.com ([fe80::1d23:5e54:ef16:e7b0]) by DB9PR08MB6729.eurprd08.prod.outlook.com ([fe80::1d23:5e54:ef16:e7b0%7]) with mapi id 15.20.4373.019; Wed, 28 Jul 2021 14:21:57 +0000 From: Roland Gaudig <roland.gaudig-oss@weidmueller.com> To: swupdate@googlegroups.com Cc: sbabic@denx.de, Roland Gaudig <roland.gaudig@weidmueller.com> Subject: [swupdate] [PATCH v2 0/2] handlers: diskpart: Add check for existing filesystem Date: Wed, 28 Jul 2021 14:21:43 +0000 Message-Id: <20210728142146.8970-1-roland.gaudig-oss@weidmueller.com> X-Mailer: git-send-email 2.25.1 Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: PR2P264CA0030.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101:1::18) To DB9PR08MB6729.eurprd08.prod.outlook.com (2603:10a6:10:2ac::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from DE12086.weidmueller.com.com (84.138.68.44) by PR2P264CA0030.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101:1::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Wed, 28 Jul 2021 14:21:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 47f78c25-5b3a-415b-02f9-08d951d30e18 X-MS-TrafficTypeDiagnostic: DB6PR0801MB1894: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB6PR0801MB18947FD538988A27653184A6AFEA9@DB6PR0801MB1894.eurprd08.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3g6jIArQ/cRcHKI0P0n7oyHVHbezP+c0lVqf0GSYw8n9p6U/QLAXL4hbwtwLtLEkk6Rzw9oTsMfFxwBuqxX2nnAu6FVhrQTZr/tTRB3EN2e2vmnu2tSpfWRPXfrZeZ9WSW8EKpyMYhfFJjXXskzulE/ivTRA4ZrVimUePHhK1bzQyeFRNOKTVESyO9a60HL7sfi72cv0L4Qe8QPtWlEbByw2uvn1Nbe6sHM2NPHAp5fhIQmtcDiPgrKev6XKoq0UVXaAwO3IaAZFBHAMCiBzco+1iLtA7Gu5YxkSbW/18VVNb1BfOVo84y4NbF1gElVPTcg9je4iuWNap5KGv/9ygd7CxWFaK/HqeXD0oz2qYHVVEHdtuMwLmfgKfAUCcrss2opESqutSnidksDx5Iq57xP144NWAolM1F/ELvhQGrs7E7O0238gNL7j+2RmcCgtXDqIeiUaQABR1cImBrlviLCgfjYuYTNqQmluYixv94cOqDEpdfBimBTijQ4ebEogoGyK6eLYcnJFxzs0Bqyu3OdHfLCNE553J2w/hRAcOVVEdYnaOW0tOEng5uHXzfqm+m0KK9oyIfJ6+aPYZGIaY3ewt9ojZ/ORZkVaJ9FBvFXwbBqU7q29/3hkYGHP0O77k/quqVQfXQBDKpQzS9auit1Bej+pbb0Dfw/6HRbnjQOScoGB9khQqfWkjNyQmRcaksbYvXD/pHB4zD7lmwiOYg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR08MB6729.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(366004)(39850400004)(376002)(136003)(396003)(1076003)(6486002)(956004)(2906002)(7696005)(6666004)(86362001)(83380400001)(36756003)(8676002)(5660300002)(38100700002)(4326008)(52116002)(8936002)(6512007)(38350700002)(316002)(478600001)(186003)(6916009)(6506007)(2616005)(66476007)(26005)(107886003)(66556008)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cnHunWskWgcJeKXfMKfoX3F+gAWq17/K2RdpE+OT7o4tXv4V1yh01Mg6NwNiu7zBhIHA8wpe2lgJXVhAhAalpOMK0GpstQPvFxX8ulLuedFwH2JKPZppa+hvc7k44WhrNdLBzwCqrSHEroWNUPGI3kv7BG2QFh6upgpam0inWcHi5BZq+D5EazQ2T9WtBZTE40yz4NYkG31tAyQ2ncQ/cQuz+kEbi5Q0YBAxXDHTXw1Bb90aRTKfxIzQONWUjFWmPnLvw4MYtvnJ+qu7AnpeDIbzZUT2Au6a05GW87tW1+/hpWR4VZDMYlLwFwR9dIetTymVfqfKJvxvp/e321SesJGXeu2nsTCeSTkSbyKLt+A6AMXeS3/NwKVuIJOwhURCwWFd2hporv1tv4fU1r40YrRYl2sKxcE5wLfhx6lH0/bJhWpzaZvJw1dscTEZV5TdF3Zg07keNoOboFZnGjR5UuOQkO+Rz9nVQdFTT/HsPplgeRDynDz3NfH+8SKHF+rog/M9owkhvzyrMXRIDVP8gEkGVd2pTc6qfP9ZByWx2KywKPNzKJibmm4923U0HMeBpdjCXiL2gM1tsqPZe5hrerBVW/YoAko5tSNGwvLI660wQ9/0ctXuC5uDwEH4Lfq5Y6p/DZFkaubCfVDj6cA+eevE8udoqbyQsxpDGSR/5R64CGvqYaXn5VSazolnFCQmP8DkVokme3NMktf6KVr8YJDNvMyiF53MMNpU7BPnGh2X2LaAc4PSUJ8+s+9XJk8c7JULw/wSDln0/ryCpRra04mljowlSxXCS3l1i84EnQxljM9N1dvd5QIfcH2D2RY01k6E8Y38pDzlpZhj83ugo3+b2DiOVlEJnyqIV8fxVFHoXY7zZSBPHHzXzHisNrxgnq9TFCKFRIDziY7jQjO6Vht/FISyd+qUU2FfP2GRuy65ArIIrdvpm54NT7MBJKq/x1O5nzwmAbUz5R2JV6rsi335MrBa11vTYvGNeQcuU+zGFM8SVgpGUgX2BQvWKNByGZpXMI6p+gKOFD3K3eV2y6Dl4HcLcDWvJah0WrFqwzzLoqrf7cThKJjpEfZgJdskZFVRqHdHQaCLG9j6Yf2TBAZapFkxB5HaBK1g2zEb7k6odPhyVcpaVLjFz7vGq+6FZhCf7A/N3CvlcElgHfu3/2xJBSBd+U5wFY8gwpG7jIP5KurDGVL6QFkWkCs68kx8RIq1uwqJQndPBg9Om0NGYKuw5vpbGQMVL338LwJJBgyjbPFlyGZLL7iFA5zNAfDJ292IY+T5Bvqdpop+pWo/LTX6t2wgBW8DWawP67Uzr61MIGQ18RY0eXIVVDnXbkwS X-OriginatorOrg: weidmueller.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47f78c25-5b3a-415b-02f9-08d951d30e18 X-MS-Exchange-CrossTenant-AuthSource: DB9PR08MB6729.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2021 14:21:57.2441 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e4289438-1c5f-4c95-a51a-ee553b8b18ec X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qcIogzkeOpDi2mHBLVphl3gA6AkXJy/zFn6N84HwkGdHO8zLi/oDkOwHPOkTzukfPrvtKY6f49o9gIkZc+2UIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1894 X-Original-Sender: roland.gaudig-oss@weidmueller.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@weidmueller.onmicrosoft.com header.s=selector1-weidmueller-onmicrosoft-com header.b=fGDnLOni; arc=pass (i=1 spf=pass spfdomain=weidmueller.com dkim=pass dkdomain=weidmueller.com dmarc=pass fromdomain=weidmueller.com); spf=pass (google.com: domain of roland.gaudig-oss@weidmueller.com designates 40.107.22.88 as permitted sender) smtp.mailfrom=roland.gaudig-oss@weidmueller.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=weidmueller.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
handlers: diskpart: Add check for existing filesystem
|
expand
|
From: Roland Gaudig <roland.gaudig@weidmueller.com> In contrast to the previous version I corrected the identities of the Author and Signed-off-by field. I accidentally configured the wrong e-mail address. Sorry for the inconvenience. This patch series adds two changes. The first changes allows switching off the check if partition table has been altered and not creating a file system if not, wich was introduces with commit 3c70984c6880 "diskpart: format filesystem only if partition table is changed". The reason for this change is, there are situations when there is an unused and unformatted partition, which shall be made usable by a later update. In this situation it is necessary to have the possebility to format that partition even though the partition table remains unchanged. It is controlled with the config DISKFORMAT_IGNORE_PT_CHANGE option. The second patch introduces a check whether already a file system exists on a partition before creating a new file system. Before creating a file system it is checked if the requested file system already exists on that partition. In case the requested file system is of different type than the existing file system, the existing file system will be overwritten. The reason for this change is, there are situations when there was an unformated partition in the past which shall be used after an update. Therefore the sw-description contains a fstype option. Now it can happen such an update is run more than once. In such case already existing data on that partition would be erased. This option is controlled with config DISKFORMAT_CHECK_OVERWRITE Changes in v2: - corrected identity of Author and Signed-off-by (no changes since v1) Roland Gaudig (2): diskpart: format partition anyway diskpart: format only if filesystem not exists Makefile.flags | 6 +++- handlers/Config.in | 21 ++++++++++++++ handlers/diskpart_handler.c | 58 ++++++++++++++++++++++++++++++++++++- 3 files changed, 83 insertions(+), 2 deletions(-)