Bug 342178 - No blocksize setting
Summary: No blocksize setting
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 1.1.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
: 356556 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-24 03:00 UTC by searchfgold67899
Modified: 2021-11-22 17:06 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description searchfgold67899 2014-12-24 03:00:54 UTC
When creating new partitions, for example a fat32 partition on a thumb drive, we are not given the option to change the FS blocksize.

Reproducible: Always

Steps to Reproduce:
1. Attempt to create a new partition with a non-default blocksize.

Actual Results:  
There is no blocksize setting.

Expected Results:  
It would be extremely beneficial in some cases to have a blocksize setting.
Comment 1 andydecleyre 2015-01-08 18:06:40 UTC
I would appreciate this as well. I'm just popping in to provide evidence of the importance of this issue. As discussed over at https://discussions.apple.com/thread/2767345 , exfat partitions cannot be reliably read by Mac OS X when the block size is not (or specifically greater than, perhaps) 1024.
Comment 2 andydecleyre 2015-01-08 21:14:12 UTC
Actually, I haven't been able to make that particular Mac OS X requirement work using mkfs.exfat either, but choosing the blocksize is still a good feature to offer.
Comment 3 Andrius Štikonas 2016-02-21 19:36:35 UTC
*** Bug 356556 has been marked as a duplicate of this bug. ***
Comment 4 Andrius Štikonas 2020-01-12 21:06:19 UTC
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