diff options
| author | Hrutvik Kanabar <hrutvik@google.com> | 2022-09-07 12:18:47 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-09-09 15:01:01 +0200 |
| commit | bdd150fcc6791e6167f227f55703682ca62c34c2 (patch) | |
| tree | 146b7d239359ac85e717caff071eff556ecbf5f3 | |
| parent | 319efb6a90f05076c53e9e8481225a4ad7e769cb (diff) | |
tools/syz-imagegen: update `vfat` image generation
`./syz-imagegen -fs vfat` now fails for some images with the following message:
mkfs.vfat: Not enough or too many clusters for filesystem - try less or more sectors per cluster
This error appears only for the runs with sectors per cluster set to `-s 128`.
This commit takes the error message's advice by reducing sectors per
cluster to `-s 64`. Images will be regenerated in a future commit.
| -rw-r--r-- | tools/syz-imagegen/imagegen.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-imagegen/imagegen.go b/tools/syz-imagegen/imagegen.go index 5a1c9bfd1..013bc251f 100644 --- a/tools/syz-imagegen/imagegen.go +++ b/tools/syz-imagegen/imagegen.go @@ -85,7 +85,7 @@ var fileSystems = []FileSystem{ MkfsFlagCombinations: [][]string{ {"", "-a -I"}, {"", "-h 3 -f 4"}, - {"-s 1", "-s 8", "-s 128"}, + {"-s 1", "-s 8", "-s 64"}, { "-F 12 -r 64 -S 512", "-F 12 -r 64 -S 2048 -A", |
