Google is continuing to make file sharing between Chrome OS and Linux easier on Chromebook. After recently adding a method to share a Chrome OS folder in the Files app with a Linux container, evidence shows additional Google Drive integration as well. And although Linux access to USB devices isn’t yet supported, this change also brings the ability to access a shared removable media device, such as microSD card or USB drive.
This Chromium OS code commit spells out the new functionality that has been coded and tested in the Chrome OS Files app.
vm_tools: seneschal: Support sharing for drivefs Updated seneschal.conf to mount /media in addition to /home. Added MEDIA storage_location to support drivefs and removable media.
If you’re not familiar with seneschal, it’s the service that manages specific file access for the Linux container in Project Crostini.
Here’s what’s being added to seneschal:
What this means is that in the Files app on a Chromebook, you’ll be able to share items from the My Drive, Team Drives and Computers in Google Drive with the Linux partition. Team Drives are for G Suite customers, so if you’re signed in to a Chromebook with a personal Google account, you won’t see that option. And Computers are those devices that have Google Drive installed for backup and sync purposes across multiple computers or mobile devices.
Essentially, once this change migrates through the Chrome OS channels, nearly any data you have on your Google Drive should be accessible from any Linux apps you have installed if you choose to share it.
While you can’t currently access USB devices from a Linux container, that’s been in the works for some time. I suspect that feature is getting close to delivery since this change also supports sharing removable media on a Chromebook with a Linux instance:
All of these features should alleviate many current file access workarounds that are needed when working in Linux on a Chromebook.
For the time being, I’ve been accessing my Google Drive through the Chromium browser in Linux on my Pixelbook for any files I need to download or view. Clearly, that’s not ideal when this type of file sharing can be natively and securely built into the Chrome OS Files app, providing a better user experience.
One thought on “Project Crostini to get Google Drive, Team Drives, Computer sharing with Linux on Chromebooks”
I wonder how well this would work for software development– For example editing Markdown and source code files that are actually stored in Google drive.
Or using “grep” to search through a source code tree that might actually be hosted on Google Drive.
I expect the answer is “it depends” on how big the project is, as well as how smart the local caching is.
I would also be interested to compare this performance with other options, like an SFTP server mounted as a local filesystem.
Apparently S3 and Dropbox are also supported.