[parted-devel] [PATCH] libparted/dasd: improve lvm/raid flag handling for DASD-CDL
Phil Susi
psusi at ubuntu.com
Mon Apr 17 18:02:02 UTC 2017
On 3/23/2017 10:11 PM, Wang Dong wrote:
> From: André Wild <wild at linux.vnet.ibm.com>
>
> This commit corrects the reading of lvm/raid flags on DASD/CDL formatted
> disks. Previously, users were not able to see what was the actual flags
> stored on the disk. Also, warn users in interactive mode about existing
> file systems when setting the lvm/raid flag. In script mode, this
> warning is ignored.
You say that previously users were not able to see what the actual flags
stored on disk were, but the code this patch removes from dasd_read
appears to do exactly that: translate the DASD information into lvm and
raid flags. You appear to have just added a warning that changing these
flags might render an existing file system unusable. How would it do
that and why should we warn about this?
More information about the parted-devel
mailing list