Author Topic: Ignore Google Drive volume (macOS)  (Read 97 times)

Offline Kevin M. Cox

  • Sr. Member
  • ****
  • Posts: 399
  • PM 5 Build 19742 | macOS 10.13.6 (17G6030)
    • View Profile
    • Kevin M. Cox | Photojournalist
Ignore Google Drive volume (macOS)
« on: May 17, 2019, 02:22:57 PM »
Google's Drive File Stream (for business G Suite users) behaves differently from Backup and Sync for personal Google Drive (and Dropbox, etc).

Instead of syncing folders on a computer to Google Drive, it creates and mounts a volume named "Google Drive" on the macOS desktop. Unfortunately users cannot add anything to the root of this volume. It only contains folders named "My Drive" and "Team Drives" that users can work within.

Unfortunately this means we can't add the PMIngestIgnore file or folder to keep it from showing inside the Ingest dialog.

Would it be possible to hard code PM to ignore the Google Drive volume to work around this limitation?
Kevin M. Cox | Photojournalist
https://www.KevinCox.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 19755
    • View Profile
    • Camera Bits, Inc.
Re: Ignore Google Drive volume (macOS)
« Reply #1 on: May 17, 2019, 02:33:16 PM »
Kevin,

Google's Drive File Stream (for business G Suite users) behaves differently from Backup and Sync for personal Google Drive (and Dropbox, etc).

Instead of syncing folders on a computer to Google Drive, it creates and mounts a volume named "Google Drive" on the macOS desktop. Unfortunately users cannot add anything to the root of this volume. It only contains folders named "My Drive" and "Team Drives" that users can work within.

Unfortunately this means we can't add the PMIngestIgnore file or folder to keep it from showing inside the Ingest dialog.

Would it be possible to hard code PM to ignore the Google Drive volume to work around this limitation?

Could you please open a Terminal window and enter the following?

ls /Volumes

and paste the output to your reply?

Thanks,

-Kirk

Offline Kevin M. Cox

  • Sr. Member
  • ****
  • Posts: 399
  • PM 5 Build 19742 | macOS 10.13.6 (17G6030)
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: Ignore Google Drive volume (macOS)
« Reply #2 on: May 17, 2019, 02:37:27 PM »
Code: [Select]
ls /Volumes
GoogleDrive Macintosh HD

ls -l /Volumes
drwx------   4 kevinc  staff  4096 May 16 08:17 GoogleDrive
lrwxr-xr-x   1 root    wheel     1 May 16 08:17 Macintosh HD -> /
Kevin M. Cox | Photojournalist
https://www.KevinCox.com

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 19755
    • View Profile
    • Camera Bits, Inc.
Re: Ignore Google Drive volume (macOS)
« Reply #3 on: May 17, 2019, 05:41:26 PM »
Kevin,

OK, given that limitation, are you sure that no one would want to Ingest from the "GoogleDrive" volume?

-Kirk

Offline Kevin M. Cox

  • Sr. Member
  • ****
  • Posts: 399
  • PM 5 Build 19742 | macOS 10.13.6 (17G6030)
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: Ignore Google Drive volume (macOS)
« Reply #4 on: May 19, 2019, 05:41:03 PM »
No way to be completely sure, but I think someone wanting to ingest the entire drive would be pretty rare. If they did want to ingest from inside they could use the Ingest Folders function to target specific directories which seems like a much more likely use case.

Ingesting from there does appear to mostly work, despite the dialog incorrectly reporting that there is 877 GB in use, when it's closer to a couple hundred MB at this point.

Quote
Incremental Ingest: Unable to create or locate Ingest data file on /Volumes/GoogleDrive.  Is this a read-only volume?  Incremental Ingest will not function for this volume.
Kevin M. Cox | Photojournalist
https://www.KevinCox.com