From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751843AbdJPH2z (ORCPT ); Mon, 16 Oct 2017 03:28:55 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:46362 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751126AbdJPH2x (ORCPT ); Mon, 16 Oct 2017 03:28:53 -0400 X-Google-Smtp-Source: AOwi7QAd5jXlCpiWJavhYjcG7X2a8oNAf2mjLn1SHXbMZmRKX1sNkV/rwgatMmTRfHq9CfjusM59jw== Date: Mon, 16 Oct 2017 09:28:45 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Andreas Bombe Cc: Karel Zak , util-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Andrius =?utf-8?B?xaB0aWtvbmFz?= , Curtis Gedak Subject: Re: Linux & FAT32 label Message-ID: <20171016072845.ksdtda5zdnb66mbe@pali> References: <20171004153332.GA6696@pali> <20171011212435.znmtdnsxcd5ectub@pali> <20171011214426.wa5endlb3kb4yhbv@pali> <20171012085658.iwrusvy4ay4s7hbb@ws.net.home> <20171012092113.2bsb3pzv6un4xahr@pali> <20171012101311.zfvg6edfvszlujom@ws.net.home> <20171012204931.tfd2bhmwu5b6rbpz@pali> <20171016011243.zurh5jhb2y6mczx7@amos.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171016011243.zurh5jhb2y6mczx7@amos.fritz.box> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 16 October 2017 03:12:43 Andreas Bombe wrote: > The other thing is completely ignoring the boot sector label, which I > could have as a mode enabled by command line switch or environmental > variable, or just outright make it the default. I'm not decided yet. > > Another problem is whether to also ignore boot sector on setting label. > Otherwise the sequence: > "set label on Linux" (both root and boot) > "change label on Windows" (root label is changed) > "remove label on Windows" (root label is deleted) > "view label on Linux" (no root label, use boot label) > resurrects an old label. There is also mlabel tool which is heavily used (e.g. by gparted GUI application) and when setting new label it stores it to both location. And because gparted is used on Linux, such situation as described above can still happen. -- Pali Rohár pali.rohar@gmail.com