Et voici !
Bloc de code:
-bash-3.2# diskutil resizeVolume disk16s2 995g jhfs+ BOOT 0b
Resizing to 995000000000 bytes and adding 1 partition
Started partitioning on disk16s2 Sans titre
Verifying the disk
Verifying file system
Volume was successfully unmounted
Performing fsck_hfs -fn -x /dev/rdisk16s2
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Sans titre appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Resizing
Shrinking file system
Modifying partition map
Initialized /dev/rdisk16s3 as a 4 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk16s2 Sans titre
/dev/disk16 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk16
1: EFI EFI 209.7 MB disk16s1
2: Apple_HFS Sans titre 995.0 GB disk16s2
3: Apple_HFS BOOT 4.7 GB disk16s3
-bash-3.2#