constellation/disk-mapper/internal/setup/mount_cross.go
Thomas Tendyck 3b9f7530fb license: change headers
find -name '*.go' -exec sed -i 's/SPDX-License-Identifier: AGPL-3.0-only/SPDX-License-Identifier: BUSL-1.1/' {} +
2025-07-15 23:34:48 +02:00

22 lines
475 B
Go

//go:build !linux
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: BUSL-1.1
*/
package setup
import (
"errors"
)
// Mount performs a mount syscall.
func (m DiskMounter) Mount(_ string, _ string, _ string, _ uintptr, _ string) error {
return errors.New("mount not implemented on this platform")
}
// Unmount performs an unmount syscall.
func (m DiskMounter) Unmount(_ string, _ int) error {
return errors.New("mount not implemented on this platform")
}