tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] Re: iflag/oflag for dd(1)
Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> mouse%Rodents-Montreal.ORG@localhost (Mouse) writes:
>
>>This makes three "no way to clear it"s. Perhaps that should be
>>changed?
>
> Or maybe setting the flags isn't a good idea, especially when
> the result is not Linux compatible.
>
> You could gather the reasonable use-cases (like appending or not-creating)
> and set the mode with conv= (like notrunc) or some new keyword.
I think that would be the most reasonable approach.
dd(1) on ubuntu for example has these conv values:
fdatasync
physically write output file data before finishing
fsync likewise, but also write metadata
that, as far as I can tell, provide the same functionality as
dsync/sync flags.
-uwe
Home |
Main Index |
Thread Index |
Old Index