... peut être une petite erreur pour la 2è code...?
Bloc de code:
Last login: Wed Jul 19 11:14:54 on ttys000
C8:2A:14:48:19:4B:~ Utente$ diskutil eraseVolume free null disk1s4
Started erase on disk1s4 Sierra
Unmounting disk
Finished erase on disk1
C8:2A:14:48:19:4B:~ Utente$ diskutil eraseVolume free null disk1s5
Unable to find disk for disk1s5
C8:2A:14:48:19:4B:~ Utente$ diskutil resizeVolume disk1s2 0b
Resizing to full size (fit to fill)
Started partitioning on disk1s2 clone
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 clone appears to be OK
File system check exit code is 0
Resizing
Modifying partition map
Copying booter
Growing file system
Finished partitioning on disk1s2 clone
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS clone 999.3 GB disk1s2
3: Apple_Boot 650.0 MB disk1s4
C8:2A:14:48:19:4B:~ Utente$