diskutil list
df -H
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 400.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Apple_HFS Clone 99.1 GB disk0s4
/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 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +399.6 GB disk2
Logical Volume on disk0s2
B5705379-0D4E-43B6-889E-428BFCC3F1AE
Unencrypted
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *134.2 GB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS 133.9 GB disk3s2
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *2.0 TB disk4
1: Windows_NTFS SAMSUNG 2.0 TB disk4s1
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk5
/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 +2.1 MB 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 +524.3 KB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk20
-bash-3.2# df -H
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 2.0G 1.3G 724M 64% 48782 4294918497 0% /
devfs 207k 207k 0B 100% 702 0 100% /dev
/dev/disk5 5.2M 287k 5.0M 6% 18 4294967261 0% /private/var/log
/dev/disk6 524k 147k 377k 29% 6 4294967273 0% /Volumes
/dev/disk7 524k 143k 381k 28% 5 4294967274 0% /private/var/tmp
/dev/disk8 524k 156k 369k 30% 9 4294967270 0% /private/var/run
/dev/disk9 2.1M 143k 2.0M 7% 2 4294967277 0% /private/tmp
/dev/disk10 524k 143k 381k 28% 2 4294967277 0% /System/Installation
/dev/disk11 524k 295k 229k 57% 19 4294967260 0% /private/var/db
/dev/disk12 6.3M 2.3M 4.0M 37% 42 4294967237 0% /private/var/folders
/dev/disk13 2.1M 205k 1.9M 10% 15 4294967264 0% /private/var/root/Library
/dev/disk15 2.1M 143k 2.0M 7% 2 4294967277 0% /private/var/root/Library/Containers
/dev/disk16 524k 172k 352k 33% 9 4294967270 0% /Library/Preferences
/dev/disk17 524k 160k 365k 31% 5 4294967274 0% /Library/Preferences/SystemConfiguration
/dev/disk18 1.0M 143k 905k 14% 2 4294967277 0% /Library/Keychains
/dev/disk19 6.3M 176k 6.1M 3% 2 4294967277 0% /private/var/tmp/RecoveryTemp
/dev/disk20 524k 143k 381k 28% 2 4294967277 0% /private/var/tmp/InstallerCookies
/dev/disk0s4 99G 12G 87G 13% 440894 4294526385 0% /Volumes/Clone
/dev/disk2 400G 5.5G 394G 2% 26 4294967253 0% /Volumes/Macintosh HD
/dev/disk4s1 2.0T 2.4G 2.0T 1% 35 1951156749 0% /Volumes/SAMSUNG
-bash-3.2#
mkdir /Vol*/Mac*/Sauvegarde
cp -av /Vol*/SAMSUNG/* /Vol*/Mac*/Sauvegarde
ls /Vol*/Mac*
mkdir /Vol*/Mac*/Sauvegarde
ls /Vol*/Mac*
diskutil info disk2
-bash-3.2# diskutil info disk2
Device Identifier: disk2
Device Node: /dev/disk2
Whole: Yes
Part of Whole: disk2
Device / Media Name: APPLE HDD HTS545050A7E362
Volume Name: Macintosh HD
Mounted: Yes
Mount Point: /Volumes/Macintosh HD
Content (IOContent): Apple_HFS
File System Personality: Journaled HFS+
Type (Bundle): hfs
Name (User Visible): Mac OS Extended (Journaled)
Journal: Journal size 32768 KB at offset 0xba4000
Owners: Enabled
OS Can Be Installed: Yes
Recovery Disk: disk0s3
Media Type: Generic
Protocol: SATA
SMART Status: Not Supported
Volume UUID: 6F248891-C225-3562-8AC7-97FA2E055440
Disk / Partition UUID: B5705379-0D4E-43B6-889E-428BFCC3F1AE
Disk Size: 399.6 GB (399628697600 Bytes) (exactly 780524800 512-Byte-Units)
Device Block Size: 512 Bytes
Volume Total Space: 399.6 GB (399628697600 Bytes) (exactly 780524800 512-Byte-Units)
Volume Used Space: 5.5 GB (5452779520 Bytes) (exactly 10649960 512-Byte-Units) (1.4%)
Volume Available Space: 394.2 GB (394175918080 Bytes) (exactly 769874840 512-Byte-Units) (98.6%)
Allocation Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: No
Device Location: Internal
Removable Media: Fixed
Solid State: No
Virtual: Yes
OS 9 Drivers: No
Low Level Format: Not supported
This disk is a Core Storage Logical Volume (LV). Core Storage Information:
LV UUID: B5705379-0D4E-43B6-889E-428BFCC3F1AE
LVF UUID: 4EF8F879-C737-48B8-B184-4CA274A65312
LVG UUID: B692B9D8-F857-454B-9483-F4502677C012
PV UUID (disk): 7269A587-74FA-4942-8E82-E0B7F43C0F46 (disk0s2)
Fusion Drive: No
Encrypted: No
-bash-3.2#
mkdir /Volumes/"Macintosh HD"/Sauvegarde
ls /Vol*/Mac*
cp -av /Vol*/SAMSUNG/* /Vol*/Mac*/Sauvegarde
diskutil eraseDisk jhfs+ TEST gpt disk4