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)



>> Some of the flags don't make sense:
>> (O_CREAT,O_RDONLY,O_RDWR,O_TRUNC,O_WRONLY,O_APPEND)

> - 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?

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index