github.com/mvdan/u-root-coreutils@v0.0.0-20230122170626-c2eef2898555/cmds/core/dd/dd_linux.go (about) 1 // Copyright 2017 the u-root Authors. All rights reserved 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package main 6 7 import "syscall" 8 9 func init() { 10 flagMap["dsync"] = bitClearAndSet{set: syscall.O_DSYNC} 11 allowedFlags |= syscall.O_DSYNC 12 }