¿Cómo eliminar / expulsar dispositivos externos no existentes de la Utilidad de Discos?

2

Por alguna razón, Disk Utility (16.0) no expulsó mis discos duros correctamente y mostró la lista de unidades fantasmas externas como se muestra en la siguiente imagen:

a pesar de que no tengo ningún disco duro externo conectado. Expulsarlos del menú contextual no hace nada.

He intentado usar diskutil para desmontar estas unidades no existentes:

diskutil list
diskutil unmountDisk /dev/disk2

pero no funcionó.

Incluyendo este comando de shell para desmontarlos a todos:

$ while read disk _; do diskutil unmountDisk force $disk; done < <(diskutil list | grep external)
Unmount of all volumes on disk2 was successful
Unmount of all volumes on disk4 was successful
Unmount of all volumes on disk5 was successful
Unmount of all volumes on disk6 was successful
Unmount of all volumes on disk7 was successful
Unmount of all volumes on disk8 was successful
Unmount of all volumes on disk9 was successful
Unmount of all volumes on disk10 was successful

pero el comando no tiene ningún efecto (incluso con force ) a pesar del mensaje exitoso. Por lo tanto, estos discos aún se muestran después de reiniciar la Utilidad de Disco como se indica a continuación:

$ diskutil list | grep external
/dev/disk2 (external, physical):
/dev/disk4 (external, physical):
/dev/disk5 (external, physical):
/dev/disk6 (external, physical):
/dev/disk7 (external, physical):
/dev/disk8 (external, physical):
/dev/disk9 (external, physical):
/dev/disk10 (external, physical):

Las siguientes entradas de registro se muestran al desmontar un solo disco:

$ log stream
opendirectoryd: Client: <private>, UID: 501, EUID: 501, GID: 20, EGID: 20
opendirectoryd: <private> completed, delivered 1 result
diskutil: (CoreFoundation) Loading Preferences From System CFPrefsD For Search List
diskutil: (CoreFoundation) Loading Preferences From User CFPrefsD For Search List
authd: (Security) SecTrustEvaluateIfNecessary
trustd: [com.apple.securityd.policy] cert[2]: AnchorTrusted =(leaf)[force]> <CFBoolean 0x7fffcc25d578 [0x7fffcc25cbd0]>{value = false}
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
authd: (Security) [com.apple.securityd.security_exception] CSSM Exception: -2147411889 CSSMERR_CL_UNKNOWN_TAG
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
authd: Succeeded authorizing right 'system.volume.external.unmount' by client '/usr/sbin/diskutil' [30724] for authorization created by '/usr/sbin/diskutil' [30724] (13,0)
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
opendirectoryd: Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
opendirectoryd: <private> completed, delivered 1 result
authd: Succeeded authorizing right 'system.volume.external.unmount' by client '/usr/libexec/diskarbitrationd' [97] for authorization created by '/usr/sbin/diskutil' [30724] (2,0)
taskgated: (Security) [com.apple.securityd.security_exception] MacOS error: -67062
taskgated: (Security) [com.apple.securityd.security_exception] MacOS error: -67062

¿Cómo me deshago de estos volúmenes no existentes sin reiniciar el sistema?

    
pregunta kenorb 13.10.2017 - 14:13

0 respuestas

Lea otras preguntas en las etiquetas