https://bugs.kde.org/show_bug.cgi?id=342178

--- Comment #4 from Andrius Štikonas <andr...@stikonas.eu> ---
Git commit d24191ebd8ee4a1792003e5bd280cb7679f5e834 by Andrius Štikonas, on
behalf of Arnaud Ferraris.
Committed on 12/01/2020 at 11:58.
Pushed by stikonas into branch 'master'.

Add support for filesystem-specific features

In some cases, it may be necessary to create a filesystem with specific
features
enabled/disabled.

This PR makes it possible to create filesystems this way. It does so
by introducing a new m_Features member variable and the createWithFeatures()
function to the FileSystem base class. The latter function is implemented
for the btrfs, ext2/3/4 and FAT filesystems.

Additionnally, the CreateFileSystemJob has been modified to enable
creating/formatting filesystems with specific features enabled.

Differential Revision: https://phabricator.kde.org/D21903

M  +2    -0    src/fs/CMakeLists.txt
M  +2    -2    src/fs/apfs.cpp
M  +1    -1    src/fs/apfs.h
M  +2    -2    src/fs/bitlocker.cpp
M  +1    -1    src/fs/bitlocker.h
M  +35   -3    src/fs/btrfs.cpp
M  +4    -1    src/fs/btrfs.h
M  +2    -2    src/fs/exfat.cpp
M  +1    -1    src/fs/exfat.h
M  +50   -3    src/fs/ext2.cpp
M  +4    -1    src/fs/ext2.h
M  +19   -3    src/fs/ext3.cpp
M  +1    -1    src/fs/ext3.h
M  +19   -3    src/fs/ext4.cpp
M  +1    -1    src/fs/ext4.h
M  +2    -2    src/fs/extended.cpp
M  +1    -1    src/fs/extended.h
M  +2    -2    src/fs/f2fs.cpp
M  +1    -1    src/fs/f2fs.h
M  +42   -3    src/fs/fat12.cpp
M  +4    -1    src/fs/fat12.h
M  +8    -9    src/fs/fat16.cpp
M  +1    -2    src/fs/fat16.h
M  +3    -4    src/fs/fat32.cpp
M  +1    -1    src/fs/fat32.h
A  +126  -0    src/fs/feature.cpp     [License: GPL (v3+)]
A  +77   -0    src/fs/feature.h     [License: GPL (v3+)]
M  +52   -0    src/fs/filesystem.cpp
M  +21   -0    src/fs/filesystem.h
M  +37   -37   src/fs/filesystemfactory.cpp
M  +1    -1    src/fs/filesystemfactory.h
M  +2    -2    src/fs/hfs.cpp
M  +1    -1    src/fs/hfs.h
M  +2    -2    src/fs/hfsplus.cpp
M  +1    -1    src/fs/hfsplus.h
M  +2    -2    src/fs/hpfs.cpp
M  +1    -1    src/fs/hpfs.h
M  +2    -2    src/fs/iso9660.cpp
M  +1    -1    src/fs/iso9660.h
M  +2    -2    src/fs/jfs.cpp
M  +1    -1    src/fs/jfs.h
M  +2    -2    src/fs/linuxraidmember.cpp
M  +1    -1    src/fs/linuxraidmember.h
M  +2    -2    src/fs/linuxswap.cpp
M  +1    -1    src/fs/linuxswap.h
M  +2    -1    src/fs/luks.cpp
M  +1    -1    src/fs/luks.h
M  +2    -2    src/fs/luks2.cpp
M  +1    -1    src/fs/luks2.h
M  +2    -2    src/fs/lvm2_pv.cpp
M  +1    -1    src/fs/lvm2_pv.h
M  +2    -2    src/fs/minix.cpp
M  +2    -2    src/fs/minix.h
M  +2    -2    src/fs/nilfs2.cpp
M  +1    -1    src/fs/nilfs2.h
M  +2    -2    src/fs/ntfs.cpp
M  +1    -1    src/fs/ntfs.h
M  +2    -2    src/fs/ocfs2.cpp
M  +1    -1    src/fs/ocfs2.h
M  +2    -2    src/fs/reiser4.cpp
M  +1    -1    src/fs/reiser4.h
M  +2    -2    src/fs/reiserfs.cpp
M  +1    -1    src/fs/reiserfs.h
M  +2    -2    src/fs/udf.cpp
M  +1    -1    src/fs/udf.h
M  +2    -2    src/fs/ufs.cpp
M  +1    -1    src/fs/ufs.h
M  +2    -2    src/fs/unformatted.cpp
M  +1    -1    src/fs/unformatted.h
M  +2    -2    src/fs/unknown.cpp
M  +1    -1    src/fs/unknown.h
M  +2    -2    src/fs/xfs.cpp
M  +1    -1    src/fs/xfs.h
M  +2    -2    src/fs/zfs.cpp
M  +1    -1    src/fs/zfs.h
M  +3    -2    src/jobs/createfilesystemjob.cpp

https://invent.kde.org/kde/kpmcore/commit/d24191ebd8ee4a1792003e5bd280cb7679f5e834

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to