[partitionmanager] [Bug 464017] Cannot shrink an ext2/3/4 filesystem

2023-01-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=464017 --- Comment #5 from Andrius Štikonas --- (In reply to Ian Turner from comment #4) > I suppose that one possible step forward would be to change some of these > types to unsigned I suspect this is easier said than done. Probably both API and ABI would

[partitionmanager] [Bug 464017] Cannot shrink an ext2/3/4 filesystem

2023-01-08 Thread Ian Turner
https://bugs.kde.org/show_bug.cgi?id=464017 --- Comment #4 from Ian Turner --- I was trying to reduce it by 60 gibibytes (to 892428 mebibytes). While I was playing around with it I reduced it by a much smaller amount (< 1GB) and then reduced it a second time to the desired size, and that

[partitionmanager] [Bug 464017] Cannot shrink an ext2/3/4 filesystem

2023-01-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=464017 --- Comment #3 from Andrius Štikonas --- (In reply to Ian Turner from comment #2) > Actually, looking more closely at the resize2fs documentation, I think the > problem is that we are passing a negative number at all. And unfortunately, > I'm now

[partitionmanager] [Bug 464017] Cannot shrink an ext2/3/4 filesystem

2023-01-08 Thread Ian Turner
https://bugs.kde.org/show_bug.cgi?id=464017 Ian Turner changed: What|Removed |Added Resolution|--- |WORKSFORME Status|REPORTED

[partitionmanager] [Bug 464017] Cannot shrink an ext2/3/4 filesystem

2023-01-08 Thread Ian Turner
https://bugs.kde.org/show_bug.cgi?id=464017 --- Comment #2 from Ian Turner --- Actually, looking more closely at the resize2fs documentation, I think the problem is that we are passing a negative number at all. And unfortunately, I'm now unable to reproduce this issue. -- You are receiving

[partitionmanager] [Bug 464017] Cannot shrink an ext2/3/4 filesystem

2023-01-08 Thread Ian Turner
https://bugs.kde.org/show_bug.cgi?id=464017 --- Comment #1 from Ian Turner --- I think the bug is right here: https://github.com/KDE/kpmcore/blob/ce39e149040bce9782b91e532d041ca0c7548a77/src/fs/ext2.cpp#L181 There should be an extra "--" as the first parameter. -- You are receiving this mail