M
iMac-de-mac:~ administrateur$ diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 24.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_CoreStorage Macintosh HD 23.6 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 999.3 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
/dev/disk2 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Sans Titre +1.0 TB disk2
Logical Volume on disk0s2, disk1s2
EDCB640D-73B7-4877-9F02-EBC76AEB2A1C
Unencrypted Fusion Drive
iMac-de-mac:~ administrateur$ diskutil coreStorage revert EDCB640D-73B7-4877-9F02-EBC76AEB2A1C
Started CoreStorage operation
Error: -69746: This operation can only be performed if there is exactly one Core Storage physical volume present in the group
iMac-de-mac:~ administrateur$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group BF701584-0510-456B-85B8-B1DFAA69D104
=========================================================
Name: Macintosh HD
Status: Online
Size: 1022898851840 B (1.0 TB)
Free Space: 45056 B (45.1 KB)
|
+-< Physical Volume CBB92244-E407-41ED-937A-13F8F81877AE
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 23553724416 B (23.6 GB)
|
+-< Physical Volume A974582E-CB97-49C2-A481-E5B9D053CBDF
| ----------------------------------------------------
| Index: 1
| Disk: disk1s2
| Status: Online
| Size: 999345127424 B (999.3 GB)
|
+-> Logical Volume Family 06DD77CA-2B44-4758-8402-22E4041E371A
----------------------------------------------------------
Encryption Type: None
|
+-> Logical Volume EDCB640D-73B7-4877-9F02-EBC76AEB2A1C
---------------------------------------------------
Disk: disk2
Status: Online
Size (Total): 1021994074112 B (1.0 TB)
Revertible: No
LV Name: Sans Titre
Volume Name: Sans Titre
Content Hint: Apple_HFS
LVG Type: Fusion, Sparse
iMac-de-mac:~ administrateur$ diskutil ap list
No APFS Containers found
csrutil status
csrutil disable
sudo ls /private/var/db/dslocal/nodes/Default/users | sed '/^_/ d'
diskutil listUsers / | grep -v '.*[\^\_\].*'
dscl . -list /Users home | grep -v '.*[\^\_\].*'
sudo du -sh /Users/*
iMac-de-mac:~ administrateur$ sudo ls /private/var/db/dslocal/nodes/Default/users | sed '/^_/ d'
Password:
administrateur.plist
daemon.plist
mac.plist
nobody.plist
root.plist
iMac-de-mac:~ administrateur$ diskutil listUsers / | grep -v '.*[\^\_\].*'
USERS
-----
Disk: disk2
Volume: Sans Titre
Mountpoint: /
UID Short Name Long Name
------------------------------------------------------------------------
501 administrateur Administrateur
1 daemon System Services
0 (null) (null)
-2 nobody Unprivileged User
0 root System Administrator
iMac-de-mac:~ administrateur$ dscl . -list /Users home | grep -v '.*[\^\_\].*'
administrateur /Users/administrateur
daemon /var/root
nobody /var/empty
root /var/root
iMac-de-mac:~ administrateur$ sudo du -sh /Users/*
78M /Users/Deleted Users
64K /Users/Shared
61M /Users/administrateur
891G /Users/mac
sudo rm -f /private/var/db/dslocal/nodes/Default/users/mac.plist
sudo ls /private/var/db/dslocal/nodes/Default/users | sed '/^_/ d'
sudo chown -R mac /Users/mac