-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 249.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/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 Copies de sauvegarde... 999.9 GB disk2s2
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: CD_partition_scheme *843.0 MB disk3
1: CD_ROM_Mode_1 Iomega_CD 62.5 MB disk3s0
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk4
/dev/disk5 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *499.4 GB disk5
1: EFI EFI 209.7 MB disk5s1
2: Apple_HFS Clone 499.0 GB disk5s2
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *15.5 GB disk18
1: Windows_NTFS M Spock 15.5 GB disk18s1
/dev/disk19 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.0 TB disk19
1: Apple_HFS VERBATIM HD 1.0 TB disk19s1
-bash-3.2#
ls /Volumes/M*
-bash-3.2# ls /Volumes/M*
/Volumes/M Spock:
.Spotlight-V100 .fseventsd
.Trashes El Capitan.dmg
._.Trashes System Volume Information
/Volumes/Macintosh HD:
.Trashes
-bash-3.2#
/Ap*/Ut*/Term*/C*/Mac*/Terminal
/Applications/Utilities/Terminal/Contents/MacOS/Terminal
cp -av /Volumes/M*/El* /Volumes/Mac*
df -H /Volumes/Mac*
-bash-3.2# df -H /Volumes/Mac*
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk0s2 249G 7.0G 242G 3% 1711846 59127896 3% /Volumes/Macintosh HD
-bash-3.2#
hdiutil attach /Volumes/Mac*/El*
-bash-3.2# hdiutil attach /Volumes/Mac*/El*
/dev/disk20 GUID_partition_scheme
/dev/disk20s1 EFI
/dev/disk20s2 Apple_HFS /Volumes/El Capitan
-bash-3.2#
diskutil eraseDisk jhfs+ CLE gpt disk18 ; diskutil list disk18
-bash-3.2# diskutil eraseDisk jhfs+ CLE gpt disk18 ; diskutil list disk18
Started erase on disk18
Unmounting disk
Creating the partition map
Waiting for the disks to reappear
Formatting disk18s2 as Mac OS Extended (Journaled) with name CLE
Initialized /dev/rdisk18s2 as a 14 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished erase on disk18
/dev/disk18 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *15.5 GB disk18
1: EFI EFI 209.7 MB disk18s1
2: Apple_HFS CLE 15.2 GB disk18s2
-bash-3.2#
/Volumes/El*/Install*/C*/R*/createinstallmedia --volume /Volumes/CLE --applicationpath /Volumes/El*/Install* --nointeraction
-bash-3.2# /Volumes/El*/Install*/C*/R*/createinstallmedia --volume /Volumes/CLE --applicationpath /Volumes/El*/Install* --nointeraction
Erasing Disk: 0%... 10%... 20%... 30%...100%...
Copying installer files to disk...
Copy complete.
Making disk bootable...
Copying boot files...
Copy complete.
Done.
-bash-3.2#