Bloc de code:
macbook-de-helene:~ helenepelourdeau$ diskutil resizeVolume disk2s2 900g jhfs+ "El Capitan" 0b ; diskutil list disk2
Resizing to 900000000000 bytes and adding 1 partition
Started partitioning on disk2s2 Juan-Iomega
Verifying the disk
Verifying file system
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 Juan-Iomega appears to be OK
File system check exit code is 0
Resizing
Waiting for the disks to reappear
Formatting disk2s3 as Mac OS Extended (Journaled) with name El Capitan
Initialized /dev/rdisk2s3 as a 46 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished partitioning on disk2s2 Juan-Iomega
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Juan-Iomega 900.0 GB disk2s2
3: Apple_HFS El Capitan 49.9 GB disk2s3
4: Apple_HFS High Sierra 49.2 GB disk2s4
5: Apple_Boot Recovery HD 650.0 MB disk2s5
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Juan-Iomega 900.0 GB disk2s2
3: Apple_HFS El Capitan 49.9 GB disk2s3
4: Apple_HFS High Sierra 49.2 GB disk2s4
5: Apple_Boot Recovery HD 650.0 MB disk2s5
macbook-de-helene:~ helenepelourdeau$