2022-03-28 20:23:47 +00:00
|
|
|
//go:build freebsd
|
2020-07-22 21:35:10 +00:00
|
|
|
// +build freebsd
|
2019-03-16 19:52:37 +00:00
|
|
|
|
2024-08-26 21:03:25 +00:00
|
|
|
package fs
|
2015-05-05 23:06:36 +00:00
|
|
|
|
2024-10-03 19:17:22 +00:00
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
"syscall"
|
|
|
|
)
|
2015-05-05 23:06:36 +00:00
|
|
|
|
2024-08-26 20:35:22 +00:00
|
|
|
func nodeRestoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
2015-05-14 21:06:11 +00:00
|
|
|
return nil
|
|
|
|
}
|
2015-08-14 13:57:47 +00:00
|
|
|
|
2024-10-03 19:17:22 +00: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 14:41:49 +00:00
|
|
|
}
|