diskutil list ; echo "====================" ; for i in `diskutil list | grep "\/dev\/"`; do diskutil info $i; echo "----------------"; done
ok ok, il va donc falloir déplacer...
Device / Media Name: SAMSUNG HM500JI Media
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *320.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 79.9 GB disk0s2
3: Apple_HFS Data 200.0 GB disk0s3
4: Microsoft Basic Data BOOTCAMP 30.0 GB disk0s4
====================
Device Identifier: disk0
Device Node: /dev/disk0
Part Of Whole: disk0
Device / Media Name: ST9320325ASG Media
Volume Name:
Escaped with Unicode:
Mounted: No
File System: None
Partition Type: GUID_partition_scheme
Bootable: Not bootable
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Total Size: 320.1 GB (320072933376 Bytes) (exactly 625142448 512-Byte-Blocks)
Volume Free Space: Not Applicable
Read-Only Media: No
Read-Only Volume: Not applicable (no filesystem)
Ejectable: No
Whole: Yes
Internal: Yes
OS 9 Drivers: No
Low Level Format: Not Supported
----------------
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 936.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data Windows 62.9 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS Lacie sauvegarde 590.9 GB disk1s2
3: Apple_HFS TimeMachine sauvegarde 349.0 GB disk1s3
4: Apple_HFS Clone 59.7 GB disk1s4
====================
Device Identifier: disk0
Device Node: /dev/disk0
Part of Whole: disk0
Device / Media Name: ST31000528AS Media
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: SATA
SMART Status: Verified
Total Size: 1.0 TB (1000204886016 Bytes) (exactly 1953525168 512-Byte-Blocks)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: No
Whole: Yes
Internal: Yes
Solid State: No
OS 9 Drivers: No
Low Level Format: Not supported
----------------
Device Identifier: disk1
Device Node: /dev/disk1
Part of Whole: disk1
Device / Media Name: LaCie
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: FireWire
SMART Status: Not Supported
Total Size: 1.0 TB (1000202043392 Bytes) (exactly 1953519616 512-Byte-Blocks)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: Yes
Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported
----------------
diskutil list ; echo "====================" ; for i in `diskutil list | grep "\/dev\/"`; do diskutil info $i; echo "----------------"; done
[B]/dev/disk0 ===>>> le disque 0, de 1: à 4: sont leur partitions[/B]
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 936.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data Windows 62.9 GB disk0s4
[B]/dev/disk1 ===>>> le disque 1, de 1: à 4: sont leur partitions[/B]
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI 209.7 MB disk1s1
2: Apple_HFS Lacie sauvegarde 590.9 GB disk1s2
3: Apple_HFS TimeMachine sauvegarde 349.0 GB disk1s3
4: Apple_HFS Clone 59.7 GB disk1s4
Device Identifier: disk1
[B] Device Node: /dev/disk1 =====>>> Notre /dev/disk1[/B]
Part of Whole: disk1
[B] Device / Media Name: LaCie =====>>> Et notre nom physique qui se placera dans la variable "DISK_NAME" de mon script[/B]
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: FireWire
SMART Status: Not Supported
Total Size: 1.0 TB (1000202043392 Bytes) (exactly 1953519616 512-Byte-Blocks)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: Yes
Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported
cd
chmod +x lacie_sleep_wake.sh
tail -15 /var/log/system.log
tail -15 /var/log/kernel.log
18 AppKit 0x00007fff883083d6 -[NSApplication run] + 463
19 AppKit 0x00007fff8858652a NSApplicationMain + 867
20 HyperDock Helper 0x000000010000213c start + 52
)
Oct 9 20:09:37 new-host login[2475]: USER_PROCESS: 2475 ttys000
Oct 9 20:09:40 new-host com.apple.launchd.peruser.501[224] ([0x0-0x16a16a].com.apple.Terminal[2472]): Exited: Terminated: 15
Oct 9 20:09:40 new-host login[2475]: DEAD_PROCESS: 2475 ttys000
Oct 9 20:14:41 new-host login[2533]: USER_PROCESS: 2533 ttys000
Oct 9 20:14:43 new-host com.apple.kextd[10]: notify_get_state() failed for token 99: status 2.
Oct 9 20:14:43 new-host com.apple.kextd[10]: notify_get_state() failed for token 98: status 2.
Oct 9 20:14:43 new-host com.apple.kextd[10]: notify_get_state() failed for token 94: status 2.
Oct 9 20:14:43 new-host com.apple.kextd[10]: notify_get_state() failed for token 102: status 2.
Oct 9 20:14:52 new-host com.apple.launchd.peruser.501[224] ([0x0-0x16f16f].com.apple.Terminal[2530]): Exited: Terminated: 15
Oct 9 20:14:52 new-host login[2533]: DEAD_PROCESS: 2533 ttys000
Oct 9 20:14:58 new-host login[2580]: USER_PROCESS: 2580 ttys000
new-host:~ florentinboisson$
Oct 9 18:35:35 iMac-de-Florentin kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: en1: BSSID changed to 00:19:70:57:f6:73
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: AirPort: Link Up on en1
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: en1: BSSID changed to 00:19:70:57:f6:73
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: AirPort: RSN handshake complete on en1
Oct 9 18:42:43 new-host kernel[0]: IOSurface: buffer allocation size is zero
Oct 9 19:53:24 new-host kernel[0]: Found client, reallocating 47001600
Oct 9 19:53:56 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:54:03 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 19:54:29 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:55:07 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 19:55:08 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:55:24 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 20:01:22 new-host kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed
Oct 9 20:01:22 new-host kernel[0]: USBMSC Identifier (non-unique): HT12LPY04140 0xbb4 0xff9 0x226
Oct 9 20:20:07 new-host com.apple.launchd.peruser.501[224] ([0x0-0x17a17a].com.apple.Terminal[2660]): Exited: Terminated: 15
Oct 9 20:20:07 new-host login[2663]: DEAD_PROCESS: 2663 ttys000
Oct 9 20:20:13 new-host login[2708]: USER_PROCESS: 2708 ttys000
Oct 9 20:20:33 new-host [0x0-0x180180].com.apple.Preview[2713]: Antidote - Assistant MC: Menu contextuel installé dans /Applications/Preview.app
Oct 9 20:21:29 new-host sandboxd[2728] ([2356]): WebProcess(2356) deny file-read-data /Users/florentinboisson/Library/Application Support/Adobe/AIR/ELS/com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1/PrivateEncryptedDatak
Oct 9 20:21:59: --- last message repeated 8 times ---
Oct 9 20:22:03 new-host login[2708]: DEAD_PROCESS: 2708 ttys000
Oct 9 20:22:04 new-host login[2733]: USER_PROCESS: 2733 ttys000
Oct 9 20:22:06 new-host login[2733]: DEAD_PROCESS: 2733 ttys000
Oct 9 20:22:06 new-host com.apple.launchd.peruser.501[224] ([0x0-0x17e17e].com.apple.Terminal[2706]): Exited: Terminated: 15
Oct 9 20:22:11 new-host com.apple.kextd[10]: notify_get_state() failed for token 119: status 2.
Oct 9 20:22:11 new-host com.apple.kextd[10]: notify_get_state() failed for token 118: status 2.
Oct 9 20:22:11 new-host com.apple.kextd[10]: notify_get_state() failed for token 114: status 2.
Oct 9 20:22:11 new-host com.apple.kextd[10]: notify_get_state() failed for token 122: status 2.
Oct 9 20:23:17 new-host login[2811]: USER_PROCESS: 2811 ttys000
new-host:~ florentinboisson$
Oct 9 18:35:35 iMac-de-Florentin kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: en1: BSSID changed to 00:19:70:57:f6:73
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: AirPort: Link Up on en1
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: en1: BSSID changed to 00:19:70:57:f6:73
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: AirPort: RSN handshake complete on en1
Oct 9 18:42:43 new-host kernel[0]: IOSurface: buffer allocation size is zero
Oct 9 19:53:24 new-host kernel[0]: Found client, reallocating 47001600
Oct 9 19:53:56 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:54:03 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 19:54:29 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:55:07 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 19:55:08 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:55:24 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 20:01:22 new-host kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed
Oct 9 20:01:22 new-host kernel[0]: USBMSC Identifier (non-unique): HT12LPY04140 0xbb4 0xff9 0x226
Oct 9 20:01:22 new-host kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed
Oct 9 20:01:22 new-host kernel[0]: USBMSC Identifier (non-unique): HT12LPY04140 0xbb4 0xff9 0x226 [COLOR=Silver]
[/COLOR]
Oct 9 20:29:56 new-host com.apple.kextd[10]: notify_get_state() failed for token 124: status 2.
Oct 9 20:29:56 new-host com.apple.kextd[10]: notify_get_state() failed for token 132: status 2.
Oct 9 20:37:31 new-host com.apple.launchd.peruser.501[224] ([0x0-0x189189].com.apple.Terminal[2809]): Exited: Killed: 9
Oct 9 20:37:47 new-host login[2880]: USER_PROCESS: 2880 ttys000
Oct 9 20:37:48 new-host com.apple.kextd[10]: notify_get_state() failed for token 139: status 2.
Oct 9 20:37:48 new-host com.apple.kextd[10]: notify_get_state() failed for token 138: status 2.
Oct 9 20:37:48 new-host com.apple.kextd[10]: notify_get_state() failed for token 134: status 2.
Oct 9 20:37:48 new-host com.apple.kextd[10]: notify_get_state() failed for token 142: status 2.
Oct 9 20:37:58 new-host com.apple.launchd.peruser.501[224] ([0x0-0x198198].com.apple.Terminal[2877]): Exited: Terminated: 15
Oct 9 20:37:58 new-host login[2880]: DEAD_PROCESS: 2880 ttys000
Oct 9 20:38:03 new-host login[2926]: USER_PROCESS: 2926 ttys000
Oct 9 20:39:32 new-host login[2926]: DEAD_PROCESS: 2926 ttys000
Oct 9 20:39:33 new-host login[2933]: USER_PROCESS: 2933 ttys000
Oct 9 20:39:39 new-host login[2933]: DEAD_PROCESS: 2933 ttys000
Oct 9 20:39:46 new-host login[2937]: USER_PROCESS: 2937 ttys000
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: AirPort: Link Up on en1
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: en1: BSSID changed to 00:19:70:57:f6:73
Oct 9 18:35:39 iMac-de-Florentin kernel[0]: AirPort: RSN handshake complete on en1
Oct 9 18:42:43 new-host kernel[0]: IOSurface: buffer allocation size is zero
Oct 9 19:53:24 new-host kernel[0]: Found client, reallocating 47001600
Oct 9 19:53:56 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:54:03 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 19:54:29 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:55:07 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 19:55:08 new-host kernel[0]: (default pager): [KERNEL]: default_pager_backing_store_monitor - send LO_WAT_ALERT
Oct 9 19:55:24 new-host kernel[0]: macx_swapoff SUCCESS
Oct 9 20:01:22 new-host kernel[0]: 0 0 AppleUSBCDC: start - initDevice failed
Oct 9 20:01:22 new-host kernel[0]: USBMSC Identifier (non-unique): HT12LPY04140 0xbb4 0xff9 0x226
Oct 9 20:33:13 new-host kernel[0]: IOSurface: buffer allocation size is zero
Oct 9 20:34:09 new-host kernel[0]: IOSurface: buffer allocation size is zero