T
T
Trotil2015-02-11 10:19:39
bash
Trotil, 2015-02-11 10:19:39

How to open and write to files with O-SYNC and O-DIRECT flags in bash?

Good afternoon!
Is there a way in bash to open files with certain O_SYNC and O_DIRECT flags?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrCricket, 2015-04-26
@Trotil

You can use the pipe with dd:
|dd oflag=direct,sync of=XX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question