gparted/include
Mike Fleetwood 246e05559d Clear btrfs file system super block mirror copies too (#705426)
With recent btrfs-progs, GParted failed to format a btrfs file system
over the top of an existing one.  Make btrfs failed with this error:

    # mkfs.btrfs /dev/sdb1
    ...
    /dev/sdb1 appears to contain an existing filesystem (btrfs).
    Use the -f option to force overwrite.

With this commit to btrfs-progs on 2013-02-19, mkfs.btrfs checks for
existing file system signatures, including all mirror copies of btrfs
super blocks, before writing to the partition.

    http://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/commit/?id=2a2d8e1962e8b6cda7b0a7584f6d2fb95d442cb6
    btrfs-progs: require mkfs -f force option to overwrite filesystem or partition table

Make GParted clear all the mirror copies of the btrfs file system super
blocks as erase_filesystem_signatures() is intended to prevent detection
of old signatures.  This also avoids having to determine if the -f
option to mkfs.btrfs is available before trying to use it.

Closes Bug #705426 - Formatting Existing BTRFS Partition as BTRFS Fails
                     Because mkfs.btrfs Is Not Run with "-f"
2013-08-26 10:16:01 -06:00
..
.cvsignore added *.swp some modifications to pass 'make distcheck' minor cleanups 2005-11-25 12:59:47 +00:00
Copy_Blocks.h Remove unused read-only functionality from internal block copy 2013-06-05 10:57:39 -06:00
DMRaid.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Device.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
DialogFeatures.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
DialogManageFlags.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Base_Partition.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Disklabel.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Copy.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Label.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_New.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Partition_Resize_Move.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Progress.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Dialog_Rescue_Data.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
DrawingAreaVisualDisk.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
FS_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
FileSystem.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Frame_Resizer_Base.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Frame_Resizer_Extended.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
GParted_Core.h Remove unused read-only functionality from internal block copy 2013-06-05 10:57:39 -06:00
HBoxOperations.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
LVM2_PV_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Makefile.am Combine duplicate code for fat16/32 2013-05-17 09:23:56 -06:00
Operation.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationChangeUUID.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationCheck.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationCopy.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationCreate.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationDelete.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationDetail.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationFormat.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationLabelPartition.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
OperationResizeMove.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Partition.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
PipeCapture.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Proc_Partitions_Info.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
TreeView_Detail.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
Utils.h Clear btrfs file system super block mirror copies too (#705426) 2013-08-26 10:16:01 -06:00
Win_GParted.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
btrfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
exfat.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
ext2.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
f2fs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
fat16.h Recognise new dosfstools program names (#704629) 2013-07-27 11:32:20 -06:00
hfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
hfsplus.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
i18n.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
jfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
linux_swap.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
lvm2_pv.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
nilfs2.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
ntfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
reiser4.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
reiserfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
ufs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00
xfs.h Make include guards unique (#539297) 2013-06-05 10:57:39 -06:00