Skip to content

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.

307 B
Raw Blame
//go:build !linux

package backend

import "os"

// OpenVolumeFile opens a volume data or index file. Only Linux can suppress
// atime updates per file descriptor; elsewhere this is a plain open.
func OpenVolumeFile(fileName string, flag int) (*os.File, error) {
	return os.OpenFile(fileName, flag, 0644)
}