Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (preserve_UUID_after_format) split it | Thierry Vignaud | 2020-03-18 | 1 | -4/+13 |
| | | | | so that part_raw() is easier to read | ||||
* | (option_to_preserve_UUID_while_formating) split it | Thierry Vignaud | 2020-03-18 | 1 | -7/+18 |
| | |||||
* | add support for F2FS | Thierry Vignaud | 2020-03-18 | 3 | -3/+5 |
| | |||||
* | partially podify fs::* | Thierry Vignaud | 2020-03-18 | 4 | -16/+187 |
| | |||||
* | skip disk ESP & BIOS boot partition checks | Thierry Vignaud | 2020-03-04 | 1 | -1/+1 |
| | | | | they now block local install with drakx-in-chroot | ||||
* | diskdrake: support adding partitions to Live ISOs on USB sticks (mga#25224) | Martin Whitaker | 2020-02-29 | 1 | -1/+1 |
| | |||||
* | nilfs2: overwite existing fs when formating (like other FSes) | Thierry Vignaud | 2020-02-19 | 1 | -1/+1 |
| | |||||
* | simplify | Thierry Vignaud | 2020-02-19 | 1 | -1/+1 |
| | |||||
* | Force reinitialisation of partition suggestions after wiping disk. | Martin Whitaker | 2017-04-04 | 1 | -1/+1 |
| | | | | | | | | When the "Use entire disk" partitioning solution is chosen in a UEFI install, any existing ESP will be deleted, so we must force the partition suggestions to be updated to ensure we create a new one. (this matches what is done in the diskdrake auto-allocate routine) | ||||
* | Speed up proc_partitions::compare() and avoid unwanted udev events. | Martin Whitaker | 2017-04-04 | 1 | -3/+3 |
| | | | | | | | | The compare function doesn't look at the filesystem type, so there's no need to probe it. This avoids unwanted udev events when we are checking that the kernel has been informed of partition table changes. | ||||
* | Don't require a BIOS boot partition when performing an upgrade (mga#20338) | Martin Whitaker | 2017-04-04 | 1 | -1/+3 |
| | | | | | | | | If we are upgrading a system on a GPT disk and it doesn't currently have a BIOS boot partition, the old system must be using a legacy bootloader (e.g. grub). We support the continued use of legacy bootloaders in an upgrade, so there is no need to insist on a BIOS boot partition in this case. | ||||
* | Allow a BIOS boot partition to be located on any disk (mga#20161). | Martin Whitaker | 2017-02-25 | 2 | -19/+18 |
| | | | | | | | This relaxes the rules in fs::any::is_boot_bios_part_needed to allow the BIOS boot partition to be located on any disk, not just the disk containing the root partition. It also ensures that a BIOS boot partition is never forcibly required in a system with non-GPT disks. | ||||
* | Set fs_type to '' for BIOS boot and Empty partitions. | Martin Whitaker | 2017-02-25 | 1 | -0/+1 |
| | | | | | This prevents misreporting of the partition type in diskdrake if they located on top of an old partition that contained a valid file system. | ||||
* | Don't suggest mountpoint for ESP when doing a legacy boot install (mga#20164). | Martin Whitaker | 2017-02-25 | 1 | -1/+1 |
| | | | | | | When doing a UEFI install, we add a fstab entry to mount the ESP on /boot/EFI. This is neither required nor desirable when doing a legacy boot install, even if an ESP is present on the disk. | ||||
* | Don't treat Empty or BIOS_GRUB partitions as free space (mga#20074). | Martin Whitaker | 2017-02-25 | 1 | -1/+1 |
| | | | | | | | The subroutine isEmpty() is used to identify free space on the disk (not DOS "Empty" partitions). Because we use a string to flag Empty and BIOS_GRUB partitions, rather than a numeric value, the numeric equality operator gives false positives. | ||||
* | Preserve DOS "Empty" partitions instead of treating them as free space ↵ | Martin Whitaker | 2017-02-25 | 1 | -1/+1 |
| | | | | | | | | | (mga#20074). To minimise the changes this close to mga6 release (and until we fix the bug in partition auto-allocation that mistakenly creates BIOS boot partitions non-GPT disks), reuse the BIOS_GRUB flag for flagging Empty partitions, as the real partition ID (0x00) is used to flag free space. | ||||
* | Fix bug in detecting whether a BIOS boot partition is required (mga#19935). | Martin Whitaker | 2017-01-17 | 1 | -1/+1 |
| | |||||
* | Skip check for boot partitions when building Live images (mga#19516). | Martin Whitaker | 2016-12-02 | 1 | -1/+3 |
| | |||||
* | (isFormatable) introduce it | Thierry Vignaud | 2016-11-15 | 1 | -1/+7 |
| | | | | | we could have exported cannotBeMountable() but it's cleaner to export another isFoobar() function | ||||
* | simplify | Thierry Vignaud | 2016-10-16 | 1 | -1/+1 |
| | |||||
* | make warning more explicit about "BBP" purpose | Rémi Verschelde | 2016-07-12 | 2 | -2/+2 |
| | | | | (BIOS boot partition, thus fixing mga#18923) | ||||
* | BIOS boot partition cannot be mounted | Thierry Vignaud | 2016-07-11 | 1 | -1/+1 |
| | |||||
* | fix inverted test | Thierry Vignaud | 2016-07-05 | 1 | -1/+1 |
| | |||||
* | factorize bad block checks | Thierry Vignaud | 2016-07-04 | 2 | -2/+3 |
| | | | | | also enable bad blocks checking on JFS (was in one place but not in other and indeed mkfs.jfs does support it) | ||||
* | perl_checker cleanup | Thierry Vignaud | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | fix being able to create vfat on UEFI (mga#15698) | Thierry Vignaud | 2016-06-30 | 1 | -1/+2 |
| | | | | | | | | | and explain the purpose of the uniq_() call see commit 56b573476e2ea63a509ab2f8ec0683397ae7c85e Rationale: use_pt_type() now returns 0 for common disks (eg: GPT ones) Under GPT+UEFI, we've 2 important "FS" having vfag as the real FS: ESP & FAT32 | ||||
* | keep UUID when formating btrfs (mga#18673) | Thierry Vignaud | 2016-06-24 | 1 | -1/+9 |
| | |||||
* | update btrfs status regarding keeping UUID | Thierry Vignaud | 2016-06-24 | 1 | -1/+1 |
| | | | | | | we cannot keep UUID when formating btrfs: - btrfstune -U needs answering "y" - mkfs.btrfs -u fails with: "non unique UUID: XYZ..." | ||||
* | fix preserving UUID when formating jfs/nilfs/xfs | Thierry Vignaud | 2016-06-24 | 1 | -1/+1 |
| | |||||
* | simplify | Thierry Vignaud | 2016-06-24 | 1 | -1/+1 |
| | |||||
* | fix documention | Thierry Vignaud | 2016-06-23 | 1 | -1/+1 |
| | |||||
* | add a failsafe for ESP tagging | Thierry Vignaud | 2016-06-18 | 1 | -1/+1 |
| | | | | sometimes we end with bogus 'fat32' fs | ||||
* | fix inverted test (mga#18656, mga#18704) | Thierry Vignaud | 2016-06-16 | 1 | -1/+1 |
| | |||||
* | fix offering to create a GRUB_BIOS partition | Thierry Vignaud | 2016-06-12 | 1 | -1/+1 |
| | | | | ...in custom mode (mga#18656) | ||||
* | fix partition type test | Thierry Vignaud | 2016-06-12 | 1 | -0/+1 |
| | | | | thus guessing better if we need a GRUB_BIOS partition (mga#18656) | ||||
* | update suggestions if needed after erasing disk | Thierry Vignaud | 2016-06-11 | 1 | -0/+3 |
| | | | | | | this is incomplete: we need to reread $all_hds else we won't add a Boot BIOS partition to suggestions if there was already one _prior_ to erase the full disk (mga#18656) ... | ||||
* | add a GRUB_BIOS partitions if needed (mga#18656) | Thierry Vignaud | 2016-06-11 | 2 | -0/+38 |
| | |||||
* | init_efi_suggestions -> init_mntpnt_suggestions() | Thierry Vignaud | 2016-06-11 | 1 | -1/+1 |
| | | | | | also take a $all_hds arg instead of $fstab needed for next commit | ||||
* | refactor for next commit | Thierry Vignaud | 2016-06-11 | 1 | -2/+4 |
| | |||||
* | detect GRUB_BIOS partitions (mga#18656) | Thierry Vignaud | 2016-06-11 | 1 | -3/+5 |
| | | | | let's abuse ->{pt_type} for tracking such partitions | ||||
* | check that ESP mount point actually is an ESP | Thierry Vignaud | 2016-02-10 | 1 | -1/+4 |
| | | | | fixing grub2 faillure resulting in draklive-install crash (mga#16246) | ||||
* | (isESP) check fs too (mga#16246) | Thierry Vignaud | 2016-02-10 | 1 | -1/+1 |
| | |||||
* | drop (broken) support for Alpha, IA64 & PPC, Sparc | Thierry Vignaud | 2016-01-02 | 1 | -1/+1 |
| | |||||
* | prevent a crash (mga#15919) | Thierry Vignaud | 2015-12-25 | 1 | -1/+3 |
| | |||||
* | Suppress undefined comment in secrets line mga#10540 | Papoteur | 2015-12-15 | 1 | -1/+1 |
| | |||||
* | only use current disk when auto partitioning, wiping disk, using free space ↵ | Pascal Terjan | 2015-06-03 | 1 | -3/+3 |
| | | | | (mga#16055) | ||||
* | resync with udisk2 | Thierry Vignaud | 2015-05-28 | 1 | -1/+4 |
| | | | | split those unknow from udisk2 on next line | ||||
* | update comment | Thierry Vignaud | 2015-05-28 | 1 | -2/+2 |
| | |||||
* | fix last commit (spotted by tv), update intaller NEWS too | Thomas Backlund | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | ignore special 'Packard_Bell' and 'Push_Button_Reset' partitions (mga#15999) | Thomas Backlund | 2015-05-28 | 1 | -1/+1 |
| |