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)

mouse%Rodents-Montreal.ORG@localhost (Mouse) writes:

>>> Some of the flags don't make sense:

>> - O_RDWR: you may want to specify it for the input file

>Why?  Since dd doesn't try to write to the input fd, why could you ever
>want to specify O_RDWR instead of O_RDONLY?

As an unexpected side effect to fail when the input is not writable.

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index