Mac-Pro-de-Franck:~ franck$ diskutil ap resizeContainer disk2 420g fat32 BOOTCAMP 0b ; diskutil list internal
Started APFS operation
Aligning shrink delta to 80 068 038 656 bytes and targeting a new physical store size of 419 999 997 952 bytes
Determined the minimum size for the targeted physical store of this APFS Container to be 395 204 100 096 bytes
Resizing APFS Container designated by APFS Container Reference disk2
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l -S /dev/disk0s2
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD - Données was formatted by hfs_convert (748.1.47) and last modified by apfs_kext (1412.101.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
warning: xf : INO_EXT_TYPE_DSTREAM : found unexpected dstream associated with non-regular file
warning: xf : INO_EXT_TYPE_DSTREAM : found unexpected dstream associated with non-regular file
warning: xf : INO_EXT_TYPE_DSTREAM : found unexpected dstream associated with non-regular file
warning: found orphan dstream id object (id 6989241, refcnt 1)
warning: found orphan dstream id object (id 50352262, refcnt 1)
warning: found orphan dstream id object (id 50352263, refcnt 1)
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by newfs_apfs (748.1.47) and last modified by apfs_kext (1412.101.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by newfs_apfs (748.1.47) and last modified by apfs_kext (1412.101.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume VM was formatted by newfs_apfs (748.1.47) and last modified by apfs_kext (1412.101.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD was formatted by diskmanagementd (1412.41.1) and last modified by apfs_kext (1412.101.1)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
Performing deferred repairs
warning: found orphan dstream id object (id 6989241)
Skipped 3 repairs of this type in total
warning: found unexpected dstream associated with non-regular inode (object-id 6989241)
Skipped 3 repairs of this type in total
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Shrinking APFS Physical Store disk0s2 from 500 068 036 608 to 419 999 997 952 bytes
Shrinking APFS data structures
Shrinking partition
Modifying partition map
4096 bytes per physical sector
/dev/rdisk0s3: 156342976 sectors in 2442859 FAT32 clusters (32768 bytes/cluster)
bps=512 spc=64 res=32 nft=2 mid=0xf8 spt=32 hds=255 hid=820723712 drv=0x80 bsec=156381184 bspf=19088 rdcl=2 infs=1 bkbs=6
Mounting disk
1 new disk created or changed due to APFS operation
Disk from APFS operation: disk0s3
Finished APFS operation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 420.0 GB disk0s2
3: Microsoft Basic Data BOOTCAMP 80.1 GB disk0s3
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +420.0 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD - Données 367.5 GB disk2s1
2: APFS Volume Preboot 82.1 MB disk2s2
3: APFS Volume Recovery 528.2 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4
5: APFS Volume Macintosh HD 11.1 GB disk2s5