SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
//go:build !(linux || darwin || freebsd || netbsd || openbsd || solaris)
package util
import "os"
// IsReadOnlyMount reports whether path is on a filesystem mounted read-only.
// Not detected on this platform.
func IsReadOnlyMount(path string) bool {
return false
}
// DirOwnedBySelf reports whether the directory info belongs to the current
// user. Unreachable here: read-only mounts are not detected on this platform.
func DirOwnedBySelf(fi os.FileInfo) bool {
return false
}
// FileDeviceId returns zero on this platform; read-only mounts are not
// detected, so no derived uuid consumes it.
func FileDeviceId(fi os.FileInfo) uint64 {
return 0
}