[parted-devel] [PATCH 0/7] Use smaller scsi_debug disks

Curtis Gedak gedakc at gmail.com
Wed Jul 14 20:02:21 BST 2021


Hi Brian,

Thank you for your continuing efforts to maintain Parted.

Is there a git branch with these changes?  If so then that would make it 
easier for me to test.

One thing of note is that some parted features are not testable with 
small partition sizes.  For example the resize code in parted will not 
resize FAT partitions and file systems smaller than 256 MiB.

See the following GParted bug report from 2011.

Bug 649324 - failure to move / resize fat32 partitions less than 256 MB
              in size
https://bugzilla.gnome.org/show_bug.cgi?id=649324

Regards,
Curtis

On 2021-07-12 5:55 p.m., Brian C. Lane wrote:
> In bug https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49487 Ross Burton
> reported problems running the test suite in a VM with 512M. There's no
> good reason to use really large disk sizes with scsi_debug so I changed
> the large ones to use 10MB (except for t3000 which uses 16MB). This
> should make it easier to run things in a VM or CI environment.
> 
> Brian C. Lane (7):
>    tests/t1100: Change dev_size_mb to 10
>    tests/t1101: Change dev_size_mb to 10
>    tests/t1102: Change dev_size_mb to 10
>    tests/t1701: Change dev_size_mb to 10
>    tests/t3000: Change dev_size_mb to 16
>    tests/t3200: Change dev_size_mb to 10
>    tests/t6006: Change dev_size_mb to 10
> 
>   tests/t1100-busy-label.sh      |  6 +++---
>   tests/t1101-busy-partition.sh  |  6 +++---
>   tests/t1102-loop-label.sh      |  6 +++---
>   tests/t1701-rescue-fs.sh       |  4 ++--
>   tests/t3000-resize-fs.sh       |  6 +++---
>   tests/t3200-type-change.sh     |  4 ++--
>   tests/t6006-dm-512b-sectors.sh | 12 ++++++------
>   7 files changed, 22 insertions(+), 22 deletions(-)
> 



More information about the parted-devel mailing list