2022-03-28 22:23:47 +02:00
|
|
|
//go:build freebsd
|
2020-07-22 23:35:10 +02:00
|
|
|
// +build freebsd
|
2019-03-16 20:52:37 +01:00
|
|
|
|
2024-08-26 23:03:25 +02:00
|
|
|
package fs
|
2015-05-05 18:06:36 -05:00
|
|
|
|
2024-10-03 21:17:22 +02:00
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
"syscall"
|
|
|
|
)
|
2015-05-05 18:06:36 -05:00
|
|
|
|
2024-08-26 22:35:22 +02:00
|
|
|
func nodeRestoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
2015-05-14 23:06:11 +02:00
|
|
|
return nil
|
|
|
|
}
|
2015-08-14 15:57:47 +02:00
|
|
|
|
2024-10-03 21:17:22 +02:00
|
|
|
func mknod(path string, mode uint32, dev uint64) error {
|
|
|
|
err := syscall.Mknod(path, mode, dev)
|
|
|
|
if err != nil {
|
|
|
|
err = &os.PathError{Op: "mknod", Path: path, Err: err}
|
|
|
|
}
|
|
|
|
return err
|
2019-03-06 09:41:49 -05:00
|
|
|
}
|