summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/type.pm
Commit message (Collapse)AuthorAgeFilesLines
* add ntfs3 to isFat_or_NTFS()Thomas Backlund2023-07-081-1/+2
|
* Fix isFat_or_NTFSPascal Terjan2023-05-061-1/+1
| | | | It was only matching ntfs-3g
* add minimal support for exFATThierry Vignaud2020-03-201-1/+2
| | | | colorize it the same way as FAT or NTFS
* mark nilfs2 as somewhat availableThierry Vignaud2020-03-181-1/+1
| | | | | | Not a true FS as it doesn't support extended attributes and thus fails to install packages (mga#26354) but we want to be able to eg: inspect it ("View" in diskrake)
* add support for F2FSThierry Vignaud2020-03-181-2/+2
|
* partially podify fs::*Thierry Vignaud2020-03-181-4/+54
|
* diskdrake: support adding partitions to Live ISOs on USB sticks (mga#25224)Martin Whitaker2020-02-291-1/+1
|
* simplifyThierry Vignaud2020-02-191-1/+1
|
* Set fs_type to '' for BIOS boot and Empty partitions.Martin Whitaker2017-02-251-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 treat Empty or BIOS_GRUB partitions as free space (mga#20074).Martin Whitaker2017-02-251-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 Whitaker2017-02-251-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.
* (isFormatable) introduce itThierry Vignaud2016-11-151-1/+7
| | | | | we could have exported cannotBeMountable() but it's cleaner to export another isFoobar() function
* simplifyThierry Vignaud2016-10-161-1/+1
|
* BIOS boot partition cannot be mountedThierry Vignaud2016-07-111-1/+1
|
* fix inverted testThierry Vignaud2016-07-051-1/+1
|
* factorize bad block checksThierry Vignaud2016-07-041-1/+2
| | | | | also enable bad blocks checking on JFS (was in one place but not in other and indeed mkfs.jfs does support it)
* perl_checker cleanupThierry Vignaud2016-07-041-1/+1
|
* fix being able to create vfat on UEFI (mga#15698)Thierry Vignaud2016-06-301-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
* add a failsafe for ESP taggingThierry Vignaud2016-06-181-1/+1
| | | | sometimes we end with bogus 'fat32' fs
* fix offering to create a GRUB_BIOS partitionThierry Vignaud2016-06-121-1/+1
| | | | ...in custom mode (mga#18656)
* detect GRUB_BIOS partitions (mga#18656)Thierry Vignaud2016-06-111-3/+5
| | | | let's abuse ->{pt_type} for tracking such partitions
* (isESP) check fs too (mga#16246)Thierry Vignaud2016-02-101-1/+1
|
* resync with udisk2Thierry Vignaud2015-05-281-1/+4
| | | | split those unknow from udisk2 on next line
* update commentThierry Vignaud2015-05-281-2/+2
|
* fix last commit (spotted by tv), update intaller NEWS tooThomas Backlund2015-05-281-1/+1
|
* ignore special 'Packard_Bell' and 'Push_Button_Reset' partitions (mga#15999)Thomas Backlund2015-05-281-1/+1
|
* fix regression refusing FAT for ESP (mga#15962)Thierry Vignaud2015-05-171-1/+4
| | | | regression introduced in commit ae5b3ce9845669227ef06c90dfaa1065a7ceebe8
* perl_checker fixThierry Vignaud2015-05-171-1/+1
|
* do not set noauto for /boot/EFI (mga#15627)Thierry Vignaud2015-05-071-1/+1
| | | | side effect of (side effect of commit 745849cdace7ed86ce12a9a7564bffb42edf0ef3)
* detect Lenovo recovery as suchThierry Vignaud2015-04-131-1/+1
| | | | also ignore 'SYSTEM_DRV'
* (isnormal_Fat_or_NTFS) introduce itThierry Vignaud2015-04-121-1/+2
| | | | returns regular FAT/NTFS (eg: no recovery, no ESP, ...)
* (isRecovery) move "Compaq diagnostics" test hereThierry Vignaud2015-03-301-0/+1
| | | | | | | | (needed for next commit) should have been done in commit 4b06a8a57d52b7d5447a1b487b8d33e36b4121b7 added in commit c2ef4a362e13249d8a774c7c5b7d0a8ab5df7d11
* (isESP) export itThierry Vignaud2015-03-201-1/+1
|
* (isEfi) rename as isESP()Thierry Vignaud2015-03-201-2/+2
| | | | as it really checks for ESP System Partition
* match ESP partitions on all archesThierry Vignaud2015-03-201-1/+1
|
* perl_checker cleanupThierry Vignaud2015-03-201-1/+1
|
* remove reiserfs from important list (mga#13295)Thomas Backlund2015-01-101-1/+1
|
* move EFI part up in the list so it actually gets listedThomas Backlund2015-01-091-6/+3
|
* btrfs needs atleast 256MB partitionThomas Backlund2015-01-081-0/+1
|
* expose ESP for efi systemsThomas Backlund2015-01-081-1/+6
|
* group fs types using same arch() checkThomas Backlund2015-01-081-5/+1
|
* improve fs sorting in combo box (mga#13640)Thierry Vignaud2014-07-031-1/+1
| | | | was "misplaced" in commit 58bbc1fb86132ac8ca16bef41fb0e8c91960846f
* kill $Id:$ tagsThierry Vignaud2014-06-071-1/+1
| | | | they're obsolete since switching from CVS/SVN to git...
* drop (broken) support for Alpha, PPC, Sparc & most of IA64Thierry.Vignaud2014-05-261-28/+7
| | | | | | | | | | | | | Including Xsun, silo & yaboot support Rationale: it's unused/unmaintained for years and those arches are beyond any hope of being usefull any day... They just got in the way... Part of IA64 support is still kept (eg: support for GPT, EFI, right xorg driver at install, ...) as it might be usefull to extend to other arches Next to consider: Xbox?
* allow to choose btrfs in normal mode (mga#65)Thierry Vignaud2013-04-071-1/+1
|
* tag btrfs & nilfs2 as Journalised FSThierry Vignaud2013-04-071-2/+2
| | | | (even if more Journalised FS or like one)
* (call_blkid) add a code comment about blkid -p to prevent accidental revert ↵Colin Guthrie2013-02-141-0/+1
| | | | in the future
* (call_blkid) always bypass blkid cacheColin Guthrie2013-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts the use of the blkid cache. This cache is a broken concept and should not be used. It's only intended to be used for LABEL/UUID conversion. From the upstream maintainer: <kzak> coling: -p provides more information, the cache is designed for LABEL/UUID conversion -- and the goal is to avoid the cache if possible (it's mostly for backward compatibility). The ideal solution is to read the information from udev DB. <kzak> coling: man blkid (at least the latest version contains some hint about this issue) <kzak> coling: I'd like to learn people to use lsblk -- it's designed more friendly for end-users as well as for scripts and it reads info from udev, libblkid is only fallback here. Longer term we should kill off the use of blkid and perhaps move to lsblk or some perl-udev (if such a thing exists) usage instead: <kay> coling: avoid the blkid cache, it is a completely broken idea <kay> kzak: you should really kill that thing :) <kzak> kay: I'd like to kill blkid at all and keep it as "to test the library" binary... <kay> kzak: tools with options like that talk for their sanity themselves :) " -g Perform a garbage collection pass on the blkid cache to remove devices which no longer exist." <kay> kzak: it's just silly, really silly to ever do that :) <kay> kzak: yeah, sounds fine to let blkid and its cache die in the long run <kzak> lsblk is maintainable and extendable -- fix blkid(8) is impossible to fix... This reverts r6891.
* (call_blkid) do not bypass blkid cacheThierry Vignaud2012-12-281-1/+1
|
* (call_blkid) use newly introduced get_stdout_raw() to reduce blkidThierry Vignaud2012-05-231-1/+1
| | | | timeout to 30 seconds (mga#5979)