google / cloud-forensics-utils

Python library to carry out DFIR analysis on the Cloud
Apache License 2.0
459 stars 88 forks source link

Detach disk uses disk name instead of device name #436

Closed sa3eed3ed closed 2 years ago

sa3eed3ed commented 2 years ago

Detach disk uses disk name instead of device name, these can be different. From docs[0]: DeviceName: Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk.

[0] https://cloud.google.com/compute/docs/reference/rest/v1/instances/get