"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
//go:build !(netbsd && 386)
package rc
import "github.com/shirou/gopsutil/v4/disk"
// getMounts returns a slice of disk mount points
func getMounts() (mounts []string) {
partitions, _ := disk.Partitions(false)
for _, partition := range partitions {
mounts = append(mounts, partition.Mountpoint)
}
return mounts
}