diff options
author | David Teigland <teigland@redhat.com> | 2021-09-08 16:30:11 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-01-14 13:57:20 -0600 |
commit | d5a950ca67c106403054ecb847e226e8b5a7c30e (patch) | |
tree | 884ec21ac20ae7bccfb9fce7edfaad1c5eaa297e /lib/commands | |
parent | 0c80ea88477b3511562036748d3bf837bf7b3e8b (diff) | |
download | lvm2-d5a950ca67c106403054ecb847e226e8b5a7c30e.tar.gz |
pvcreate: overwrite partition header with -f
$ pvcreate /dev/sdc
Cannot use /dev/sdc: device is partitioned
$ pvcreate -f /dev/sdc
Physical volume "/dev/sdc" successfully created.
Diffstat (limited to 'lib/commands')
-rw-r--r-- | lib/commands/toolcontext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/commands/toolcontext.h b/lib/commands/toolcontext.h index f16322d4e..9c24559a6 100644 --- a/lib/commands/toolcontext.h +++ b/lib/commands/toolcontext.h @@ -204,6 +204,7 @@ struct cmd_context { unsigned udevoutput:1; unsigned online_vg_file_removed:1; unsigned disable_dm_devs:1; /* temporarily disable use of dm devs cache */ + unsigned filter_partitioned_skip:1; /* don't use filter-partitioned */ /* * Devices and filtering. |