Hello, current maximum size of /usr/src in large disk autoinstall configuration is set to 2G, which in insufficient for 'git clone', where the repo already exceeded this size, I suggest to change it to 3G, since most users have disks large enough to handle it.
diff --git regress/sbin/disklabel/300000.ok regress/sbin/disklabel/300000.ok index c43d6f75cab..20f0bd3901e 100644 --- regress/sbin/disklabel/300000.ok +++ regress/sbin/disklabel/300000.ok @@ -15,12 +15,12 @@ Writing MBR at offset 0. g: 2097152 130680064 4.2BSD 2048 16384 1 h: 20.0G 132777216 4.2BSD 2048 16384 1 # /usr/local h: 41943040 132777216 4.2BSD 2048 16384 1 - i: 2.0G 174720256 4.2BSD 2048 16384 1 # /usr/src - i: 4194304 174720256 4.2BSD 2048 16384 1 - j: 6.0G 178914560 4.2BSD 2048 16384 1 # /usr/obj - j: 12582912 178914560 4.2BSD 2048 16384 1 - k: 201.7G 191497472 4.2BSD 4096 32768 1 # /home - k: 422904512 191497472 4.2BSD 4096 32768 1 + i: 3.0G 174720256 4.2BSD 2048 16384 1 # /usr/src + i: 6291456 174720256 4.2BSD 2048 16384 1 + j: 6.0G 181011712 4.2BSD 2048 16384 1 # /usr/obj + j: 12582912 181011712 4.2BSD 2048 16384 1 + k: 200.7G 193594624 4.2BSD 4096 32768 1 # /home + k: 420807360 193594624 4.2BSD 4096 32768 1 /dev/vnd0a / ffs rw 1 1 /dev/vnd0k /home ffs rw 1 2 diff --git regress/sbin/disklabel/90000.ok regress/sbin/disklabel/90000.ok index ce3ac0a0136..7a6257ff3c4 100644 --- regress/sbin/disklabel/90000.ok +++ regress/sbin/disklabel/90000.ok @@ -15,12 +15,12 @@ Writing MBR at offset 0. g: 2097152 60711712 4.2BSD 2048 16384 1 h: 12.6G 62808864 4.2BSD 2048 16384 1 # /usr/local h: 26433184 62808864 4.2BSD 2048 16384 1 - i: 2.0G 89242048 4.2BSD 2048 16384 1 # /usr/src - i: 4194304 89242048 4.2BSD 2048 16384 1 - j: 6.0G 93436352 4.2BSD 2048 16384 1 # /usr/obj - j: 12582912 93436352 4.2BSD 2048 16384 1 - k: 37.3G 106019264 4.2BSD 2048 16384 1 # /home - k: 78302720 106019264 4.2BSD 2048 16384 1 + i: 2.8G 89242048 4.2BSD 2048 16384 1 # /usr/src + i: 5907200 89242048 4.2BSD 2048 16384 1 + j: 6.0G 95149248 4.2BSD 2048 16384 1 # /usr/obj + j: 12582912 95149248 4.2BSD 2048 16384 1 + k: 36.5G 107732160 4.2BSD 2048 16384 1 # /home + k: 76589824 107732160 4.2BSD 2048 16384 1 /dev/vnd0a / ffs rw 1 1 /dev/vnd0k /home ffs rw 1 2 diff --git regress/sbin/disklabel/900000.ok regress/sbin/disklabel/900000.ok index 1ab20a962ab..3b01eaba657 100644 --- regress/sbin/disklabel/900000.ok +++ regress/sbin/disklabel/900000.ok @@ -15,12 +15,12 @@ Writing MBR at offset 0. g: 2097152 130680064 4.2BSD 2048 16384 1 h: 20.0G 132777216 4.2BSD 2048 16384 1 # /usr/local h: 41943040 132777216 4.2BSD 2048 16384 1 - i: 2.0G 174720256 4.2BSD 2048 16384 1 # /usr/src - i: 4194304 174720256 4.2BSD 2048 16384 1 - j: 6.0G 178914560 4.2BSD 2048 16384 1 # /usr/obj - j: 12582912 178914560 4.2BSD 2048 16384 1 - k: 300.0G 191497472 4.2BSD 4096 32768 1 # /home - k: 629145600 191497472 4.2BSD 4096 32768 1 + i: 3.0G 174720256 4.2BSD 2048 16384 1 # /usr/src + i: 6291456 174720256 4.2BSD 2048 16384 1 + j: 6.0G 181011712 4.2BSD 2048 16384 1 # /usr/obj + j: 12582912 181011712 4.2BSD 2048 16384 1 + k: 300.0G 193594624 4.2BSD 4096 32768 1 # /home + k: 629145600 193594624 4.2BSD 4096 32768 1 /dev/vnd0a / ffs rw 1 1 /dev/vnd0k /home ffs rw 1 2 diff --git sbin/disklabel/disklabel.8 sbin/disklabel/disklabel.8 index b38c5e74d22..81c25b5a6e5 100644 --- sbin/disklabel/disklabel.8 +++ sbin/disklabel/disklabel.8 @@ -532,7 +532,7 @@ swap 10% of disk. 80M \(en 2x max physical memory /usr 10% of disk. 1500M \(en 6G /usr/X11R6 3% of disk. 384M \(en 1G /usr/local 15% of disk. 1G \(en 20G -/usr/src 2% of disk. 1300M \(en 2G +/usr/src 2% of disk. 1300M \(en 3G /usr/obj 4% of disk. 5G \(en 6G /home 30% of disk. 1G \(en 300G .Ed @@ -568,7 +568,7 @@ swap 80M-256M 10% /usr 1.5G-3G 5% /usr/X11R6 512M-1G 3% /usr/local 2G-10G 10% -/usr/src 1G-2G 2% +/usr/src 1G-3G 2% /usr/obj 1.3G-2G 4% /home 1G-* 45% .Ed diff --git sbin/disklabel/editor.c sbin/disklabel/editor.c index 8708f3d59e4..42738a0f3ae 100644 --- sbin/disklabel/editor.c +++ sbin/disklabel/editor.c @@ -95,7 +95,7 @@ struct space_allocation alloc_big[] = { { MEG(1500), GIG(6), 10, "/usr" }, { MEG(384), GIG(1), 3, "/usr/X11R6" }, { GIG(1), GIG(20), 15, "/usr/local" }, - { MEG(1300), GIG(2), 2, "/usr/src" }, + { MEG(1300), GIG(3), 2, "/usr/src" }, { GIG(5), GIG(6), 4, "/usr/obj" }, { GIG(1), GIG(300), 30, "/home" } /* Anything beyond this leave for the user to decide */